public static class CloudSubscription.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CloudSubscription |
build() |
CloudSubscription.Builder |
compartmentId(String compartmentId) |
CloudSubscription.Builder |
copy(CloudSubscription model) |
CloudSubscription.Builder |
currencyCode(String currencyCode)
Currency code.
|
CloudSubscription.Builder |
definedTags(Map<String,Map<String,Object>> definedTags) |
CloudSubscription.Builder |
freeformTags(Map<String,String> freeformTags) |
CloudSubscription.Builder |
id(String id) |
CloudSubscription.Builder |
lifecycleState(SubscriptionLifecycleState lifecycleState)
Lifecycle state of the subscription.
|
CloudSubscription.Builder |
serviceName(String serviceName) |
CloudSubscription.Builder |
subscriptionNumber(String subscriptionNumber)
Unique Oracle Cloud Subscriptions identifier that is immutable on creation.
|
CloudSubscription.Builder |
timeCreated(Date timeCreated) |
CloudSubscription.Builder |
timeUpdated(Date timeUpdated) |
public CloudSubscription.Builder id(String id)
public CloudSubscription.Builder compartmentId(String compartmentId)
public CloudSubscription.Builder serviceName(String serviceName)
public CloudSubscription.Builder timeCreated(Date timeCreated)
public CloudSubscription.Builder timeUpdated(Date timeUpdated)
public CloudSubscription.Builder freeformTags(Map<String,String> freeformTags)
public CloudSubscription.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CloudSubscription.Builder subscriptionNumber(String subscriptionNumber)
Unique Oracle Cloud Subscriptions identifier that is immutable on creation.
subscriptionNumber
- the value to setpublic CloudSubscription.Builder currencyCode(String currencyCode)
Currency code. For example USD, MXN.
currencyCode
- the value to setpublic CloudSubscription.Builder lifecycleState(SubscriptionLifecycleState lifecycleState)
Lifecycle state of the subscription.
lifecycleState
- the value to setpublic CloudSubscription build()
public CloudSubscription.Builder copy(CloudSubscription model)
Copyright © 2016–2024. All rights reserved.