Class ClassicAssignedSubscription.Builder
- java.lang.Object
- 
- com.oracle.bmc.tenantmanagercontrolplane.model.ClassicAssignedSubscription.Builder
 
- 
- Enclosing class:
- ClassicAssignedSubscription
 
 public static class ClassicAssignedSubscription.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic ClassicAssignedSubscription.Builder id(String id) 
 - 
compartmentIdpublic ClassicAssignedSubscription.Builder compartmentId(String compartmentId) 
 - 
serviceNamepublic ClassicAssignedSubscription.Builder serviceName(String serviceName) 
 - 
timeCreatedpublic ClassicAssignedSubscription.Builder timeCreated(Date timeCreated) 
 - 
timeUpdatedpublic ClassicAssignedSubscription.Builder timeUpdated(Date timeUpdated) 
 - 
freeformTagspublic ClassicAssignedSubscription.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic ClassicAssignedSubscription.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
lifecycleStatepublic ClassicAssignedSubscription.Builder lifecycleState(ClassicSubscriptionLifecycleState lifecycleState) Lifecycle state of the subscription.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
classicSubscriptionIdpublic ClassicAssignedSubscription.Builder classicSubscriptionId(String classicSubscriptionId) Subscription ID.- Parameters:
- classicSubscriptionId- the value to set
- Returns:
- this builder
 
 - 
isClassicSubscriptionpublic ClassicAssignedSubscription.Builder isClassicSubscription(Boolean isClassicSubscription) Specifies whether or not the subscription is legacy.- Parameters:
- isClassicSubscription- the value to set
- Returns:
- this builder
 
 - 
regionAssignmentpublic ClassicAssignedSubscription.Builder regionAssignment(String regionAssignment) Region for the subscription.- Parameters:
- regionAssignment- the value to set
- Returns:
- this builder
 
 - 
skuspublic ClassicAssignedSubscription.Builder skus(List<SubscriptionSku> skus) List of SKUs linked to the subscription.- Parameters:
- skus- the value to set
- Returns:
- this builder
 
 - 
orderIdspublic ClassicAssignedSubscription.Builder orderIds(List<String> orderIds) List of subscription order OCIDs that contributed to this subscription.- Parameters:
- orderIds- the value to set
- Returns:
- this builder
 
 - 
programTypepublic ClassicAssignedSubscription.Builder programType(String programType) Specifies any program that is associated with the subscription.- Parameters:
- programType- the value to set
- Returns:
- this builder
 
 - 
customerCountryCodepublic ClassicAssignedSubscription.Builder customerCountryCode(String customerCountryCode) The country code for the customer associated with the subscription.- Parameters:
- customerCountryCode- the value to set
- Returns:
- this builder
 
 - 
cloudAmountCurrencypublic ClassicAssignedSubscription.Builder cloudAmountCurrency(String cloudAmountCurrency) The currency code for the customer associated with the subscription.- Parameters:
- cloudAmountCurrency- the value to set
- Returns:
- this builder
 
 - 
csiNumberpublic ClassicAssignedSubscription.Builder csiNumber(String csiNumber) Customer service identifier for the customer associated with the subscription.- Parameters:
- csiNumber- the value to set
- Returns:
- this builder
 
 - 
subscriptionTierpublic ClassicAssignedSubscription.Builder subscriptionTier(String subscriptionTier) Tier for the subscription, whether a free promotion subscription or a paid subscription.- Parameters:
- subscriptionTier- the value to set
- Returns:
- this builder
 
 - 
isGovernmentSubscriptionpublic ClassicAssignedSubscription.Builder isGovernmentSubscription(Boolean isGovernmentSubscription) Specifies whether or not the subscription is a government subscription.- Parameters:
- isGovernmentSubscription- the value to set
- Returns:
- this builder
 
 - 
promotionpublic ClassicAssignedSubscription.Builder promotion(List<Promotion> promotion) List of promotions related to the subscription.- Parameters:
- promotion- the value to set
- Returns:
- this builder
 
 - 
purchaseEntitlementIdpublic ClassicAssignedSubscription.Builder purchaseEntitlementId(String purchaseEntitlementId) Purchase entitlement ID associated with the subscription.- Parameters:
- purchaseEntitlementId- the value to set
- Returns:
- this builder
 
 - 
startDatepublic ClassicAssignedSubscription.Builder startDate(Date startDate) Subscription start time.- Parameters:
- startDate- the value to set
- Returns:
- this builder
 
 - 
endDatepublic ClassicAssignedSubscription.Builder endDate(Date endDate) Subscription end time.- Parameters:
- endDate- the value to set
- Returns:
- this builder
 
 - 
managedBypublic ClassicAssignedSubscription.Builder managedBy(ClassicSubscriptionManagedBy managedBy) Service or component which is used to provision and manage the subscription.- Parameters:
- managedBy- the value to set
- Returns:
- this builder
 
 - 
buildpublic ClassicAssignedSubscription build() 
 - 
copypublic ClassicAssignedSubscription.Builder copy(ClassicAssignedSubscription model) 
 
- 
 
-