Class StackSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

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

        public StackSummary.Builder compartmentId​(String compartmentId)
        Unique identifier of the compartment in which the stack resides.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public StackSummary.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public StackSummary.Builder description​(String description)
        General description of the stack.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public StackSummary.Builder timeCreated​(Date timeCreated)
        The date and time when the stack was created.

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

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

        public StackSummary.Builder lifecycleState​(Stack.LifecycleState lifecycleState)
        The current lifecycle state of the stack.

        For more information about stack lifecycle states in Resource Manager, see Key Concepts.

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

        public StackSummary.Builder terraformVersion​(String terraformVersion)
        The version of Terraform specified for the stack.

        Example: 1.5.x

        Parameters:
        terraformVersion - the value to set
        Returns:
        this builder
      • freeformTags

        public StackSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags associated with the resource.

        Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public StackSummary.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public StackSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        The system tags associated with this resource, if any.

        The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

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