public static class Organization.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Organization |
build() |
Organization.Builder |
compartmentId(String compartmentId)
OCID of the compartment containing the organization.
|
Organization.Builder |
copy(Organization model) |
Organization.Builder |
defaultUcmSubscriptionId(String defaultUcmSubscriptionId)
OCID of the default Universal Credits Model subscription.
|
Organization.Builder |
displayName(String displayName)
A display name for the organization.
|
Organization.Builder |
id(String id)
OCID of the organization.
|
Organization.Builder |
lifecycleState(Organization.LifecycleState lifecycleState)
Lifecycle state of the organization.
|
Organization.Builder |
parentName(String parentName)
The name of the tenancy that is the organization parent.
|
Organization.Builder |
timeCreated(Date timeCreated)
Date and time when the organization was created.
|
Organization.Builder |
timeUpdated(Date timeUpdated)
Date and time when the organization was last updated.
|
public Organization.Builder id(String id)
OCID of the organization.
id
- the value to setpublic Organization.Builder displayName(String displayName)
A display name for the organization. Avoid entering confidential information.
displayName
- the value to setpublic Organization.Builder compartmentId(String compartmentId)
OCID of the compartment containing the organization. Always a tenancy OCID.
compartmentId
- the value to setpublic Organization.Builder parentName(String parentName)
The name of the tenancy that is the organization parent.
parentName
- the value to setpublic 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.
defaultUcmSubscriptionId
- the value to setpublic Organization.Builder lifecycleState(Organization.LifecycleState lifecycleState)
Lifecycle state of the organization.
lifecycleState
- the value to setpublic Organization.Builder timeCreated(Date timeCreated)
Date and time when the organization was created.
timeCreated
- the value to setpublic Organization.Builder timeUpdated(Date timeUpdated)
Date and time when the organization was last updated.
timeUpdated
- the value to setpublic Organization build()
public Organization.Builder copy(Organization model)
Copyright © 2016–2024. All rights reserved.