Class CreateStackDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

        public CreateStackDetails.Builder displayName​(String displayName)
        The stack’s display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public CreateStackDetails.Builder description​(String description)
        Description of the stack.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • variables

        public CreateStackDetails.Builder variables​(Map<String,​String> variables)
        Terraform variables associated with this resource.

        Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: {“CompartmentId”: “compartment-id-value”}

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

        public CreateStackDetails.Builder terraformVersion​(String terraformVersion)
        The version of Terraform to use with the stack.

        Example: 0.12.x

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

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

        Each tag is a simple 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 CreateStackDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags associated with 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