Class Compartment.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydataplane.model.Compartment.Builder
-
- Enclosing class:
- Compartment
public static class Compartment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public Compartment.Builder id(String id)
The id of the compartment.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public Compartment.Builder name(String name)
The name of the compartment.- Parameters:
name- the value to set- Returns:
- this builder
-
displayName
public Compartment.Builder displayName(String displayName)
The display name of the compartment.- Parameters:
displayName- the value to set- Returns:
- this builder
-
fullName
public Compartment.Builder fullName(String fullName)
The full name of the compartment.- Parameters:
fullName- the value to set- Returns:
- this builder
-
parentCompartmentId
public Compartment.Builder parentCompartmentId(String parentCompartmentId)
The id of the parent compartment.- Parameters:
parentCompartmentId- the value to set- Returns:
- this builder
-
status
public Compartment.Builder status(EntityStatus status)
The status of the compartment.- Parameters:
status- the value to set- Returns:
- this builder
-
propertyMap
public Compartment.Builder propertyMap(Map<String,String> propertyMap)
The extended properties.- Parameters:
propertyMap- the value to set- Returns:
- this builder
-
build
public Compartment build()
-
copy
public Compartment.Builder copy(Compartment model)
-
-