Package com.oracle.bmc.cloudbridge.model
Class CreateEnvironmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.CreateEnvironmentDetails.Builder
-
- Enclosing class:
- CreateEnvironmentDetails
public static class CreateEnvironmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEnvironmentDetails
build()
CreateEnvironmentDetails.Builder
compartmentId(String compartmentId)
Compartment identifier.CreateEnvironmentDetails.Builder
copy(CreateEnvironmentDetails model)
CreateEnvironmentDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.CreateEnvironmentDetails.Builder
displayName(String displayName)
Environment identifier.CreateEnvironmentDetails.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.
-
-
-
Method Detail
-
displayName
public CreateEnvironmentDetails.Builder displayName(String displayName)
Environment identifier.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public CreateEnvironmentDetails.Builder compartmentId(String compartmentId)
Compartment identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateEnvironmentDetails.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
-
definedTags
public CreateEnvironmentDetails.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
-
build
public CreateEnvironmentDetails build()
-
copy
public CreateEnvironmentDetails.Builder copy(CreateEnvironmentDetails model)
-
-