Class OrganizationTenancy.Builder
- java.lang.Object
- 
- com.oracle.bmc.tenantmanagercontrolplane.model.OrganizationTenancy.Builder
 
- 
- Enclosing class:
- OrganizationTenancy
 
 public static class OrganizationTenancy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationTenancybuild()OrganizationTenancy.Buildercopy(OrganizationTenancy model)OrganizationTenancy.BuildergovernanceStatus(GovernanceStatus governanceStatus)The governance status of the tenancy.OrganizationTenancy.BuilderisApprovedForTransfer(Boolean isApprovedForTransfer)Parameter to indicate the tenancy is approved for transfer to another organization.OrganizationTenancy.BuilderlifecycleState(OrganizationTenancyLifecycleState lifecycleState)Lifecycle state of the organization tenancy.OrganizationTenancy.Buildername(String name)Name of the tenancy.OrganizationTenancy.Builderrole(OrganizationTenancyRole role)Role of the organization tenancy.OrganizationTenancy.BuildertenancyId(String tenancyId)OCID of the tenancy.OrganizationTenancy.BuildertimeJoined(Date timeJoined)Date and time when the tenancy joined the organization.OrganizationTenancy.BuildertimeLeft(Date timeLeft)Date and time when the tenancy left the organization.
 
- 
- 
- 
Method Detail- 
tenancyIdpublic OrganizationTenancy.Builder tenancyId(String tenancyId) OCID of the tenancy.- Parameters:
- tenancyId- the value to set
- Returns:
- this builder
 
 - 
namepublic OrganizationTenancy.Builder name(String name) Name of the tenancy.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic OrganizationTenancy.Builder lifecycleState(OrganizationTenancyLifecycleState lifecycleState) Lifecycle state of the organization tenancy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
rolepublic OrganizationTenancy.Builder role(OrganizationTenancyRole role) Role of the organization tenancy.- Parameters:
- role- the value to set
- Returns:
- this builder
 
 - 
timeJoinedpublic OrganizationTenancy.Builder timeJoined(Date timeJoined) Date and time when the tenancy joined the organization.- Parameters:
- timeJoined- the value to set
- Returns:
- this builder
 
 - 
timeLeftpublic OrganizationTenancy.Builder timeLeft(Date timeLeft) Date and time when the tenancy left the organization.- Parameters:
- timeLeft- the value to set
- Returns:
- this builder
 
 - 
isApprovedForTransferpublic OrganizationTenancy.Builder isApprovedForTransfer(Boolean isApprovedForTransfer) Parameter to indicate the tenancy is approved for transfer to another organization.- Parameters:
- isApprovedForTransfer- the value to set
- Returns:
- this builder
 
 - 
governanceStatuspublic OrganizationTenancy.Builder governanceStatus(GovernanceStatus governanceStatus) The governance status of the tenancy.- Parameters:
- governanceStatus- the value to set
- Returns:
- this builder
 
 - 
buildpublic OrganizationTenancy build() 
 - 
copypublic OrganizationTenancy.Builder copy(OrganizationTenancy model) 
 
- 
 
-