Class Organization.Builder
- java.lang.Object
- 
- com.oracle.bmc.tenantmanagercontrolplane.model.Organization.Builder
 
- 
- Enclosing class:
- Organization
 
 public static class Organization.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic Organization.Builder id(String id) OCID of the organization.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Organization.Builder displayName(String displayName) A display name for the organization.Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic 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
 
 - 
parentNamepublic Organization.Builder parentName(String parentName) The name of the tenancy that is the organization parent.- Parameters:
- parentName- the value to set
- Returns:
- this builder
 
 - 
defaultUcmSubscriptionIdpublic 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
 
 - 
lifecycleStatepublic Organization.Builder lifecycleState(Organization.LifecycleState lifecycleState) Lifecycle state of the organization.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Organization.Builder timeCreated(Date timeCreated) Date and time when the organization was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Organization.Builder timeUpdated(Date timeUpdated) Date and time when the organization was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic Organization build() 
 - 
copypublic Organization.Builder copy(Organization model) 
 
- 
 
-