Class SubscriptionMapping.Builder
- java.lang.Object
- 
- com.oracle.bmc.tenantmanagercontrolplane.model.SubscriptionMapping.Builder
 
- 
- Enclosing class:
- SubscriptionMapping
 
 public static class SubscriptionMapping.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionMappingbuild()SubscriptionMapping.BuildercompartmentId(String compartmentId)OCID of the compartment.SubscriptionMapping.Buildercopy(SubscriptionMapping model)SubscriptionMapping.Builderid(String id)OCID of the mapping between subscription and compartment identified by the tenancy.SubscriptionMapping.BuilderisExplicitlyAssigned(Boolean isExplicitlyAssigned)Denotes if the subscription is explicity assigned to the root compartment or tenancy.SubscriptionMapping.BuilderlifecycleState(SubscriptionMapping.LifecycleState lifecycleState)Lifecycle state of the subscriptionMapping.SubscriptionMapping.BuildersubscriptionId(String subscriptionId)OCID of the subscription.SubscriptionMapping.BuildertimeCreated(Date timeCreated)Date-time when subscription mapping was created.SubscriptionMapping.BuildertimeTerminated(Date timeTerminated)Date-time when subscription mapping was terminated.SubscriptionMapping.BuildertimeUpdated(Date timeUpdated)Date-time when subscription mapping was updated.
 
- 
- 
- 
Method Detail- 
idpublic SubscriptionMapping.Builder id(String id) OCID of the mapping between subscription and compartment identified by the tenancy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
subscriptionIdpublic SubscriptionMapping.Builder subscriptionId(String subscriptionId) OCID of the subscription.- Parameters:
- subscriptionId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SubscriptionMapping.Builder compartmentId(String compartmentId) OCID of the compartment.Always a tenancy OCID. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
isExplicitlyAssignedpublic SubscriptionMapping.Builder isExplicitlyAssigned(Boolean isExplicitlyAssigned) Denotes if the subscription is explicity assigned to the root compartment or tenancy.- Parameters:
- isExplicitlyAssigned- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SubscriptionMapping.Builder lifecycleState(SubscriptionMapping.LifecycleState lifecycleState) Lifecycle state of the subscriptionMapping.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeTerminatedpublic SubscriptionMapping.Builder timeTerminated(Date timeTerminated) Date-time when subscription mapping was terminated.- Parameters:
- timeTerminated- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SubscriptionMapping.Builder timeCreated(Date timeCreated) Date-time when subscription mapping was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SubscriptionMapping.Builder timeUpdated(Date timeUpdated) Date-time when subscription mapping was updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic SubscriptionMapping build() 
 - 
copypublic SubscriptionMapping.Builder copy(SubscriptionMapping model) 
 
- 
 
-