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