public static class OrganizationTenancy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OrganizationTenancy |
build() |
OrganizationTenancy.Builder |
copy(OrganizationTenancy model) |
OrganizationTenancy.Builder |
governanceStatus(GovernanceStatus governanceStatus)
The governance status of the tenancy.
|
OrganizationTenancy.Builder |
isApprovedForTransfer(Boolean isApprovedForTransfer)
Parameter to indicate the tenancy is approved for transfer to another organization.
|
OrganizationTenancy.Builder |
lifecycleState(OrganizationTenancyLifecycleState lifecycleState)
Lifecycle state of the organization tenancy.
|
OrganizationTenancy.Builder |
name(String name)
Name of the tenancy.
|
OrganizationTenancy.Builder |
role(OrganizationTenancyRole role)
Role of the organization tenancy.
|
OrganizationTenancy.Builder |
tenancyId(String tenancyId)
OCID of the tenancy.
|
OrganizationTenancy.Builder |
timeJoined(Date timeJoined)
Date and time when the tenancy joined the organization.
|
OrganizationTenancy.Builder |
timeLeft(Date timeLeft)
Date and time when the tenancy left the organization.
|
public OrganizationTenancy.Builder tenancyId(String tenancyId)
OCID of the tenancy.
tenancyId
- the value to setpublic OrganizationTenancy.Builder name(String name)
Name of the tenancy.
name
- the value to setpublic OrganizationTenancy.Builder lifecycleState(OrganizationTenancyLifecycleState lifecycleState)
Lifecycle state of the organization tenancy.
lifecycleState
- the value to setpublic OrganizationTenancy.Builder role(OrganizationTenancyRole role)
Role of the organization tenancy.
role
- the value to setpublic OrganizationTenancy.Builder timeJoined(Date timeJoined)
Date and time when the tenancy joined the organization.
timeJoined
- the value to setpublic OrganizationTenancy.Builder timeLeft(Date timeLeft)
Date and time when the tenancy left the organization.
timeLeft
- the value to setpublic OrganizationTenancy.Builder isApprovedForTransfer(Boolean isApprovedForTransfer)
Parameter to indicate the tenancy is approved for transfer to another organization.
isApprovedForTransfer
- the value to setpublic OrganizationTenancy.Builder governanceStatus(GovernanceStatus governanceStatus)
The governance status of the tenancy.
governanceStatus
- the value to setpublic OrganizationTenancy build()
public OrganizationTenancy.Builder copy(OrganizationTenancy model)
Copyright © 2016–2024. All rights reserved.