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