Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Stack |
build() |
Stack.Builder |
compartmentId(String compartmentId)
Unique identifier
(OCID) for
the compartment where the stack is located.
|
Stack.Builder |
configSource(ConfigSource configSource) |
Stack.Builder |
copy(Stack model) |
Stack.Builder |
customTerraformProvider(CustomTerraformProvider customTerraformProvider) |
Stack.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Stack.Builder |
description(String description)
Description of the stack.
|
Stack.Builder |
displayName(String displayName)
Human-readable name of the stack.
|
Stack.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.
|
Stack.Builder |
id(String id)
Unique identifier
(OCID) for
the stack.
|
Stack.Builder |
isThirdPartyProviderExperienceEnabled(Boolean isThirdPartyProviderExperienceEnabled)
When
true , the stack sources third-party Terraform providers from Terraform
Registry and allows customTerraformProvider . |
Stack.Builder |
lifecycleState(Stack.LifecycleState lifecycleState)
The current lifecycle state of the stack.
|
Stack.Builder |
stackDriftStatus(Stack.StackDriftStatus stackDriftStatus)
Drift status of the stack.
|
Stack.Builder |
terraformVersion(String terraformVersion)
The version of Terraform specified for the stack.
|
Stack.Builder |
timeCreated(Date timeCreated)
The date and time at which the stack was created.
|
Stack.Builder |
timeDriftLastChecked(Date timeDriftLastChecked)
The date and time when the drift detection was last executed.
|
Stack.Builder |
variables(Map<String,String> variables)
Terraform variables associated with this resource.
|
public Stack.Builder id(String id)
Unique identifier (OCID) for the stack.
id
- the value to setpublic Stack.Builder compartmentId(String compartmentId)
Unique identifier (OCID) for the compartment where the stack is located.
compartmentId
- the value to setpublic Stack.Builder displayName(String displayName)
Human-readable name of the stack.
displayName
- the value to setpublic Stack.Builder description(String description)
Description of the stack.
description
- the value to setpublic 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
timeCreated
- the value to setpublic 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.
lifecycleState
- the value to setpublic Stack.Builder configSource(ConfigSource configSource)
public Stack.Builder customTerraformProvider(CustomTerraformProvider customTerraformProvider)
public Stack.Builder isThirdPartyProviderExperienceEnabled(Boolean isThirdPartyProviderExperienceEnabled)
When true
, the stack sources third-party Terraform providers from Terraform
Registry and allows customTerraformProvider
. For
more information about stack sourcing of third-party Terraform providers, see
Third-party Provider
Configuration.
isThirdPartyProviderExperienceEnabled
- the value to setpublic 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"}
variables
- the value to setpublic Stack.Builder terraformVersion(String terraformVersion)
The version of Terraform specified for the stack. Example: 0.12.x
terraformVersion
- the value to setpublic 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.
stackDriftStatus
- the value to setpublic 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
timeDriftLastChecked
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic Stack build()
public Stack.Builder copy(Stack model)
Copyright © 2016–2024. All rights reserved.