Class OrganizationTenancySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.OrganizationTenancySummary.Builder
-
- Enclosing class:
- OrganizationTenancySummary
public static class OrganizationTenancySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
tenancyId
public OrganizationTenancySummary.Builder tenancyId(String tenancyId)
OCID of the tenancy.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
name
public OrganizationTenancySummary.Builder name(String name)
Name of the tenancy.- Parameters:
name
- the value to set- Returns:
- this builder
-
lifecycleState
public OrganizationTenancySummary.Builder lifecycleState(OrganizationTenancyLifecycleState lifecycleState)
Lifecycle state of the organization tenancy.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
role
public OrganizationTenancySummary.Builder role(OrganizationTenancyRole role)
Role of the organization tenancy.- Parameters:
role
- the value to set- Returns:
- this builder
-
timeJoined
public OrganizationTenancySummary.Builder timeJoined(Date timeJoined)
Date and time when the tenancy joined the organization.- Parameters:
timeJoined
- the value to set- Returns:
- this builder
-
timeLeft
public OrganizationTenancySummary.Builder timeLeft(Date timeLeft)
Date and time when the tenancy left the organization.- Parameters:
timeLeft
- the value to set- Returns:
- this builder
-
isApprovedForTransfer
public OrganizationTenancySummary.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
-
governanceStatus
public OrganizationTenancySummary.Builder governanceStatus(GovernanceStatus governanceStatus)
The governance status of the tenancy.- Parameters:
governanceStatus
- the value to set- Returns:
- this builder
-
systemTags
public OrganizationTenancySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public OrganizationTenancySummary build()
-
copy
public OrganizationTenancySummary.Builder copy(OrganizationTenancySummary model)
-
-