public static class Compartment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Compartment |
build() |
Compartment.Builder |
copy(Compartment model) |
Compartment.Builder |
displayName(String displayName)
The display name of the compartment.
|
Compartment.Builder |
fullName(String fullName)
The full name of the compartment.
|
Compartment.Builder |
id(String id)
The id of the compartment.
|
Compartment.Builder |
name(String name)
The name of the compartment.
|
Compartment.Builder |
parentCompartmentId(String parentCompartmentId)
The id of the parent compartment.
|
Compartment.Builder |
propertyMap(Map<String,String> propertyMap)
The extended properties.
|
Compartment.Builder |
status(EntityStatus status)
The status of the compartment.
|
public Compartment.Builder id(String id)
The id of the compartment.
id
- the value to setpublic Compartment.Builder name(String name)
The name of the compartment.
name
- the value to setpublic Compartment.Builder displayName(String displayName)
The display name of the compartment.
displayName
- the value to setpublic Compartment.Builder fullName(String fullName)
The full name of the compartment.
fullName
- the value to setpublic Compartment.Builder parentCompartmentId(String parentCompartmentId)
The id of the parent compartment.
parentCompartmentId
- the value to setpublic Compartment.Builder status(EntityStatus status)
The status of the compartment.
status
- the value to setpublic Compartment.Builder propertyMap(Map<String,String> propertyMap)
The extended properties.
propertyMap
- the value to setpublic Compartment build()
public Compartment.Builder copy(Compartment model)
Copyright © 2016–2024. All rights reserved.