Class OrganizationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.OrganizationSummary.Builder
-
- Enclosing class:
- OrganizationSummary
public static class OrganizationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationSummary
build()
OrganizationSummary.Builder
compartmentId(String compartmentId)
OCID of the compartment containing the organization.OrganizationSummary.Builder
copy(OrganizationSummary model)
OrganizationSummary.Builder
defaultUcmSubscriptionId(String defaultUcmSubscriptionId)
OCID of the default Universal Credits Model subscription.OrganizationSummary.Builder
displayName(String displayName)
A display name for the organization.OrganizationSummary.Builder
id(String id)
OCID of the organization.OrganizationSummary.Builder
lifecycleState(Organization.LifecycleState lifecycleState)
Lifecycle state of the organization.OrganizationSummary.Builder
parentName(String parentName)
The name of the tenancy that is the organization parent.OrganizationSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.OrganizationSummary.Builder
timeCreated(Date timeCreated)
Date and time when the organization was created.OrganizationSummary.Builder
timeUpdated(Date timeUpdated)
Date and time when the organization was last updated.
-
-
-
Method Detail
-
id
public OrganizationSummary.Builder id(String id)
OCID of the organization.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public OrganizationSummary.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 OrganizationSummary.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 OrganizationSummary.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 OrganizationSummary.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 OrganizationSummary.Builder lifecycleState(Organization.LifecycleState lifecycleState)
Lifecycle state of the organization.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public OrganizationSummary.Builder timeCreated(Date timeCreated)
Date and time when the organization was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OrganizationSummary.Builder timeUpdated(Date timeUpdated)
Date and time when the organization was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
systemTags
public OrganizationSummary.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 OrganizationSummary build()
-
copy
public OrganizationSummary.Builder copy(OrganizationSummary model)
-
-