Package com.oracle.bmc.cloudbridge.model
Class Environment.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudbridge.model.Environment.Builder
 
- 
- Enclosing class:
- Environment
 
 public static class Environment.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Environmentbuild()Environment.BuildercompartmentId(String compartmentId)Compartment identifier.Environment.Buildercopy(Environment model)Environment.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.Environment.BuilderdisplayName(String displayName)Environment identifier, which can be renamed.Environment.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.Environment.Builderid(String id)Unique identifier that is immutable on creation.Environment.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Environment.BuilderlifecycleState(Environment.LifecycleState lifecycleState)The current state of the source environment.Environment.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.Environment.BuildertimeCreated(Date timeCreated)The time when the source environment was created.Environment.BuildertimeUpdated(Date timeUpdated)The time when the source environment was updated.
 
- 
- 
- 
Method Detail- 
idpublic Environment.Builder id(String id) Unique identifier that is immutable on creation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Environment.Builder displayName(String displayName) Environment identifier, which can be renamed.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Environment.Builder compartmentId(String compartmentId) Compartment identifier.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Environment.Builder timeCreated(Date timeCreated) The time when the source environment was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Environment.Builder timeUpdated(Date timeUpdated) The time when the source environment was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Environment.Builder lifecycleState(Environment.LifecycleState lifecycleState) The current state of the source environment.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Environment.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Environment.Builder freeformTags(Map<String,String> freeformTags) The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Environment.Builder definedTags(Map<String,Map<String,Object>> definedTags) The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Environment.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 Environment build() 
 - 
copypublic Environment.Builder copy(Environment model) 
 
- 
 
-