public static class ClassicAssignedSubscription.Builder extends Object
Constructor and Description |
---|
Builder() |
public ClassicAssignedSubscription.Builder id(String id)
public ClassicAssignedSubscription.Builder compartmentId(String compartmentId)
public ClassicAssignedSubscription.Builder serviceName(String serviceName)
public ClassicAssignedSubscription.Builder timeCreated(Date timeCreated)
public ClassicAssignedSubscription.Builder timeUpdated(Date timeUpdated)
public ClassicAssignedSubscription.Builder freeformTags(Map<String,String> freeformTags)
public ClassicAssignedSubscription.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public ClassicAssignedSubscription.Builder lifecycleState(ClassicSubscriptionLifecycleState lifecycleState)
Lifecycle state of the subscription.
lifecycleState
- the value to setpublic ClassicAssignedSubscription.Builder classicSubscriptionId(String classicSubscriptionId)
Subscription ID.
classicSubscriptionId
- the value to setpublic ClassicAssignedSubscription.Builder isClassicSubscription(Boolean isClassicSubscription)
Specifies whether or not the subscription is legacy.
isClassicSubscription
- the value to setpublic ClassicAssignedSubscription.Builder regionAssignment(String regionAssignment)
Region for the subscription.
regionAssignment
- the value to setpublic ClassicAssignedSubscription.Builder skus(List<SubscriptionSku> skus)
List of SKUs linked to the subscription.
skus
- the value to setpublic ClassicAssignedSubscription.Builder orderIds(List<String> orderIds)
List of subscription order OCIDs that contributed to this subscription.
orderIds
- the value to setpublic ClassicAssignedSubscription.Builder programType(String programType)
Specifies any program that is associated with the subscription.
programType
- the value to setpublic ClassicAssignedSubscription.Builder customerCountryCode(String customerCountryCode)
The country code for the customer associated with the subscription.
customerCountryCode
- the value to setpublic ClassicAssignedSubscription.Builder cloudAmountCurrency(String cloudAmountCurrency)
The currency code for the customer associated with the subscription.
cloudAmountCurrency
- the value to setpublic ClassicAssignedSubscription.Builder csiNumber(String csiNumber)
Customer service identifier for the customer associated with the subscription.
csiNumber
- the value to setpublic ClassicAssignedSubscription.Builder subscriptionTier(String subscriptionTier)
Tier for the subscription, whether a free promotion subscription or a paid subscription.
subscriptionTier
- the value to setpublic ClassicAssignedSubscription.Builder isGovernmentSubscription(Boolean isGovernmentSubscription)
Specifies whether or not the subscription is a government subscription.
isGovernmentSubscription
- the value to setpublic ClassicAssignedSubscription.Builder promotion(List<Promotion> promotion)
List of promotions related to the subscription.
promotion
- the value to setpublic ClassicAssignedSubscription.Builder purchaseEntitlementId(String purchaseEntitlementId)
Purchase entitlement ID associated with the subscription.
purchaseEntitlementId
- the value to setpublic ClassicAssignedSubscription.Builder startDate(Date startDate)
Subscription start time.
startDate
- the value to setpublic ClassicAssignedSubscription.Builder endDate(Date endDate)
Subscription end time.
endDate
- the value to setpublic ClassicAssignedSubscription build()
public ClassicAssignedSubscription.Builder copy(ClassicAssignedSubscription model)
Copyright © 2016–2024. All rights reserved.