Class Organization.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.Organization.Builder
-
- Enclosing class:
- Organization
public static class Organization.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Organization
build()
Organization.Builder
compartmentId(String compartmentId)
OCID of the compartment containing the organization.Organization.Builder
copy(Organization model)
Organization.Builder
defaultUcmSubscriptionId(String defaultUcmSubscriptionId)
OCID of the default Universal Credits Model subscription.Organization.Builder
displayName(String displayName)
A display name for the organization.Organization.Builder
id(String id)
OCID of the organization.Organization.Builder
lifecycleState(Organization.LifecycleState lifecycleState)
Lifecycle state of the organization.Organization.Builder
parentName(String parentName)
The name of the tenancy that is the organization parent.Organization.Builder
timeCreated(Date timeCreated)
Date and time when the organization was created.Organization.Builder
timeUpdated(Date timeUpdated)
Date and time when the organization was last updated.
-
-
-
Method Detail
-
id
public Organization.Builder id(String id)
OCID of the organization.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public Organization.Builder displayName(String displayName)
A display name for the organization.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public Organization.Builder compartmentId(String compartmentId)
OCID of the compartment containing the organization.Always a tenancy OCID.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
parentName
public Organization.Builder parentName(String parentName)
The name of the tenancy that is the organization parent.- Parameters:
parentName
- the value to set- Returns:
- this builder
-
defaultUcmSubscriptionId
public Organization.Builder defaultUcmSubscriptionId(String defaultUcmSubscriptionId)
OCID of the default Universal Credits Model subscription.Any tenancy joining the organization will automatically get assigned this subscription, if a subscription is not explictly assigned.
- Parameters:
defaultUcmSubscriptionId
- the value to set- Returns:
- this builder
-
lifecycleState
public Organization.Builder lifecycleState(Organization.LifecycleState lifecycleState)
Lifecycle state of the organization.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public Organization.Builder timeCreated(Date timeCreated)
Date and time when the organization was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Organization.Builder timeUpdated(Date timeUpdated)
Date and time when the organization was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public Organization build()
-
copy
public Organization.Builder copy(Organization model)
-
-