Class Compartment.Builder
- java.lang.Object
- 
- com.oracle.bmc.identitydataplane.model.Compartment.Builder
 
- 
- Enclosing class:
- Compartment
 
 public static class Compartment.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Compartmentbuild()Compartment.Buildercopy(Compartment model)Compartment.BuilderdisplayName(String displayName)The display name of the compartment.Compartment.BuilderfullName(String fullName)The full name of the compartment.Compartment.Builderid(String id)The id of the compartment.Compartment.Buildername(String name)The name of the compartment.Compartment.BuilderparentCompartmentId(String parentCompartmentId)The id of the parent compartment.Compartment.BuilderpropertyMap(Map<String,String> propertyMap)The extended properties.Compartment.Builderstatus(EntityStatus status)The status of the compartment.
 
- 
- 
- 
Method Detail- 
idpublic Compartment.Builder id(String id) The id of the compartment.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic Compartment.Builder name(String name) The name of the compartment.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Compartment.Builder displayName(String displayName) The display name of the compartment.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
fullNamepublic Compartment.Builder fullName(String fullName) The full name of the compartment.- Parameters:
- fullName- the value to set
- Returns:
- this builder
 
 - 
parentCompartmentIdpublic Compartment.Builder parentCompartmentId(String parentCompartmentId) The id of the parent compartment.- Parameters:
- parentCompartmentId- the value to set
- Returns:
- this builder
 
 - 
statuspublic Compartment.Builder status(EntityStatus status) The status of the compartment.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
propertyMappublic Compartment.Builder propertyMap(Map<String,String> propertyMap) The extended properties.- Parameters:
- propertyMap- the value to set
- Returns:
- this builder
 
 - 
buildpublic Compartment build() 
 - 
copypublic Compartment.Builder copy(Compartment model) 
 
- 
 
-