Class Stack.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcemanager.model.Stack.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Stackbuild()Stack.BuildercompartmentId(String compartmentId)Unique identifier (OCID) for the compartment where the stack is located.Stack.BuilderconfigSource(ConfigSource configSource)Stack.Buildercopy(Stack model)Stack.BuildercustomTerraformProvider(CustomTerraformProvider customTerraformProvider)Stack.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Stack.Builderdescription(String description)Description of the stack.Stack.BuilderdisplayName(String displayName)A user-friendly name.Stack.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags associated with the resource.Stack.Builderid(String id)Unique identifier (OCID) for the stack.Stack.BuilderisThirdPartyProviderExperienceEnabled(Boolean isThirdPartyProviderExperienceEnabled)When true, the stack sources third-party Terraform providers from Terraform Registry and allowscustomTerraformProvider.Stack.BuilderlifecycleState(Stack.LifecycleState lifecycleState)The current lifecycle state of the stack.Stack.BuilderstackDriftStatus(Stack.StackDriftStatus stackDriftStatus)Drift status of the stack.Stack.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.Stack.BuilderterraformVersion(String terraformVersion)The version of Terraform specified for the stack.Stack.BuildertimeCreated(Date timeCreated)The date and time at which the stack was created.Stack.BuildertimeDriftLastChecked(Date timeDriftLastChecked)The date and time when the drift detection was last executed.Stack.Buildervariables(Map<String,String> variables)Terraform variables associated with this resource.
 
- 
- 
- 
Method Detail- 
idpublic Stack.Builder id(String id) Unique identifier (OCID) for the stack.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Stack.Builder compartmentId(String compartmentId) Unique identifier (OCID) for the compartment where the stack is located.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Stack.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
 
 - 
descriptionpublic Stack.Builder description(String description) Description of the stack.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Stack.Builder timeCreated(Date timeCreated) The date and time at which 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
 
 - 
lifecycleStatepublic Stack.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
 
 - 
configSourcepublic Stack.Builder configSource(ConfigSource configSource) 
 - 
customTerraformProviderpublic Stack.Builder customTerraformProvider(CustomTerraformProvider customTerraformProvider) 
 - 
isThirdPartyProviderExperienceEnabledpublic Stack.Builder isThirdPartyProviderExperienceEnabled(Boolean isThirdPartyProviderExperienceEnabled) When true, the stack sources third-party Terraform providers from Terraform Registry and allowscustomTerraformProvider.For more information about stack sourcing of third-party Terraform providers, see Third-party Provider Configuration. - Parameters:
- isThirdPartyProviderExperienceEnabled- the value to set
- Returns:
- this builder
 
 - 
variablespublic Stack.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
 
 - 
terraformVersionpublic Stack.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
 
 - 
stackDriftStatuspublic Stack.Builder stackDriftStatus(Stack.StackDriftStatus stackDriftStatus) Drift status of the stack.Drift refers to differences between the actual (current) state of the stack and the expected (defined) state of the stack. - Parameters:
- stackDriftStatus- the value to set
- Returns:
- this builder
 
 - 
timeDriftLastCheckedpublic Stack.Builder timeDriftLastChecked(Date timeDriftLastChecked) The date and time when the drift detection was last executed.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z - Parameters:
- timeDriftLastChecked- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Stack.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
 
 - 
definedTagspublic Stack.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
 
 - 
systemTagspublic Stack.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
 
 - 
buildpublic Stack build() 
 - 
copypublic Stack.Builder copy(Stack model) 
 
- 
 
-