Class TemplateSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public TemplateSummary.Builder id​(String id)
        Unique identifier of the specified template.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public TemplateSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing this template.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public TemplateSummary.Builder displayName​(String displayName)
        Human-readable display name for the template.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public TemplateSummary.Builder description​(String description)
        Brief description of the template.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • isFreeTier

        public TemplateSummary.Builder isFreeTier​(Boolean isFreeTier)
        whether the template will work for free tier tenancy.
        Parameters:
        isFreeTier - the value to set
        Returns:
        this builder
      • timeCreated

        public TemplateSummary.Builder timeCreated​(Date timeCreated)
        The date and time at which the template was created.

        Format is defined by RFC3339. Example: 2020-11-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • lifecycleState

        public TemplateSummary.Builder lifecycleState​(Template.LifecycleState lifecycleState)
        The current lifecycle state of the template.

        Allowable values: - ACTIVE

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder