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 Organizationbuild()Organization.BuildercompartmentId(String compartmentId)OCID of the compartment containing the organization.Organization.Buildercopy(Organization model)Organization.BuilderdefaultUcmSubscriptionId(String defaultUcmSubscriptionId)OCID of the default Universal Credits Model subscription.Organization.BuilderdisplayName(String displayName)A display name for the organization.Organization.Builderid(String id)OCID of the organization.Organization.BuilderlifecycleState(Organization.LifecycleState lifecycleState)Lifecycle state of the organization.Organization.BuilderparentName(String parentName)The name of the tenancy that is the organization parent.Organization.BuildertimeCreated(Date timeCreated)Date and time when the organization was created.Organization.BuildertimeUpdated(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)
-
-