Package com.oracle.bmc.identity.model
Class UpdateCompartmentDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.identity.model.UpdateCompartmentDetails.Builder
 
- 
- Enclosing class:
- UpdateCompartmentDetails
 
 public static class UpdateCompartmentDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCompartmentDetailsbuild()UpdateCompartmentDetails.Buildercopy(UpdateCompartmentDetails model)UpdateCompartmentDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateCompartmentDetails.Builderdescription(String description)The description you assign to the compartment.UpdateCompartmentDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateCompartmentDetails.Buildername(String name)The new name you assign to the compartment.
 
- 
- 
- 
Method Detail- 
descriptionpublic UpdateCompartmentDetails.Builder description(String description) The description you assign to the compartment.Does not have to be unique, and it’s changeable. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
namepublic UpdateCompartmentDetails.Builder name(String name) The new name you assign to the compartment.The name must be unique across all compartments in the parent compartment. Avoid entering confidential information. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic UpdateCompartmentDetails.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple 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 UpdateCompartmentDetails.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
 
 - 
buildpublic UpdateCompartmentDetails build() 
 - 
copypublic UpdateCompartmentDetails.Builder copy(UpdateCompartmentDetails model) 
 
- 
 
-