Class StackSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.model.StackSummary.Builder
-
- Enclosing class:
- StackSummary
public static class StackSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackSummarybuild()StackSummary.BuildercompartmentId(String compartmentId)Unique identifier of the compartment in which the stack resides.StackSummary.Buildercopy(StackSummary model)StackSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.StackSummary.Builderdescription(String description)General description of the stack.StackSummary.BuilderdisplayName(String displayName)Human-readable display name for the stack.StackSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags associated with this resource.StackSummary.Builderid(String id)Unique identifier of the specified stack.StackSummary.BuilderlifecycleState(Stack.LifecycleState lifecycleState)The current lifecycle state of the stack.StackSummary.BuilderterraformVersion(String terraformVersion)The version of Terraform specified for the stack.StackSummary.BuildertimeCreated(Date timeCreated)The date and time when the stack was created.
-
-
-
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)
Human-readable display name for the stack.- 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.
Allowable values: - CREATING - ACTIVE - DELETING - DELETED - FAILED
- 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: 0.12.x
- Parameters:
terraformVersion- the value to set- Returns:
- this builder
-
freeformTags
public StackSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags associated with this 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
-
build
public StackSummary build()
-
copy
public StackSummary.Builder copy(StackSummary model)
-
-