public static class SubscriptionMapping.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SubscriptionMapping |
build() |
SubscriptionMapping.Builder |
compartmentId(String compartmentId)
OCID of the compartment.
|
SubscriptionMapping.Builder |
copy(SubscriptionMapping model) |
SubscriptionMapping.Builder |
id(String id)
OCID of the mapping between subscription and compartment identified by the tenancy.
|
SubscriptionMapping.Builder |
isExplicitlyAssigned(Boolean isExplicitlyAssigned)
Denotes if the subscription is explicity assigned to the root compartment or tenancy.
|
SubscriptionMapping.Builder |
lifecycleState(SubscriptionMapping.LifecycleState lifecycleState)
Lifecycle state of the subscriptionMapping.
|
SubscriptionMapping.Builder |
subscriptionId(String subscriptionId)
OCID of the subscription.
|
SubscriptionMapping.Builder |
timeCreated(Date timeCreated)
Date-time when subscription mapping was created.
|
SubscriptionMapping.Builder |
timeTerminated(Date timeTerminated)
Date-time when subscription mapping was terminated.
|
SubscriptionMapping.Builder |
timeUpdated(Date timeUpdated)
Date-time when subscription mapping was updated.
|
public SubscriptionMapping.Builder id(String id)
OCID of the mapping between subscription and compartment identified by the tenancy.
id
- the value to setpublic SubscriptionMapping.Builder subscriptionId(String subscriptionId)
OCID of the subscription.
subscriptionId
- the value to setpublic SubscriptionMapping.Builder compartmentId(String compartmentId)
OCID of the compartment. Always a tenancy OCID.
compartmentId
- the value to setpublic SubscriptionMapping.Builder isExplicitlyAssigned(Boolean isExplicitlyAssigned)
Denotes if the subscription is explicity assigned to the root compartment or tenancy.
isExplicitlyAssigned
- the value to setpublic SubscriptionMapping.Builder lifecycleState(SubscriptionMapping.LifecycleState lifecycleState)
Lifecycle state of the subscriptionMapping.
lifecycleState
- the value to setpublic SubscriptionMapping.Builder timeTerminated(Date timeTerminated)
Date-time when subscription mapping was terminated.
timeTerminated
- the value to setpublic SubscriptionMapping.Builder timeCreated(Date timeCreated)
Date-time when subscription mapping was created.
timeCreated
- the value to setpublic SubscriptionMapping.Builder timeUpdated(Date timeUpdated)
Date-time when subscription mapping was updated.
timeUpdated
- the value to setpublic SubscriptionMapping build()
public SubscriptionMapping.Builder copy(SubscriptionMapping model)
Copyright © 2016–2024. All rights reserved.