public static class Subscription.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Subscription |
build() |
Subscription.Builder |
classicSubscriptionId(String classicSubscriptionId)
Subscription id.
|
Subscription.Builder |
copy(Subscription model) |
Subscription.Builder |
id(String id)
OCID of the subscription details for particular root compartment or tenancy.
|
Subscription.Builder |
lifecycleDetails(Subscription.LifecycleDetails lifecycleDetails)
Subscription resource intermediate states.
|
Subscription.Builder |
lifecycleState(Subscription.LifecycleState lifecycleState)
Lifecycle state of the subscription.
|
Subscription.Builder |
serviceName(String serviceName)
The type of subscription, such as ‘CLOUDCM’/‘SAAS’/‘CRM’, etc.
|
Subscription.Builder |
skus(List<SubscriptionSku> skus)
Stock keeping unit.
|
public Subscription.Builder id(String id)
OCID of the subscription details for particular root compartment or tenancy.
id
- the value to setpublic Subscription.Builder classicSubscriptionId(String classicSubscriptionId)
Subscription id.
classicSubscriptionId
- the value to setpublic Subscription.Builder serviceName(String serviceName)
The type of subscription, such as ‘CLOUDCM’/‘SAAS’/‘CRM’, etc.
serviceName
- the value to setpublic Subscription.Builder lifecycleState(Subscription.LifecycleState lifecycleState)
Lifecycle state of the subscription.
lifecycleState
- the value to setpublic Subscription.Builder lifecycleDetails(Subscription.LifecycleDetails lifecycleDetails)
Subscription resource intermediate states.
lifecycleDetails
- the value to setpublic Subscription.Builder skus(List<SubscriptionSku> skus)
Stock keeping unit.
skus
- the value to setpublic Subscription build()
public Subscription.Builder copy(Subscription model)
Copyright © 2016–2024. All rights reserved.