Class SubscriptionSku.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.SubscriptionSku.Builder
-
- Enclosing class:
- SubscriptionSku
public static class SubscriptionSku.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionSkubuild()SubscriptionSku.Buildercopy(SubscriptionSku model)SubscriptionSku.Builderdescription(String description)Description of the stock units.SubscriptionSku.BuilderendDate(Date endDate)Date and time when the SKU ended.SubscriptionSku.BuildergsiOrderLineId(String gsiOrderLineId)Sales order line identifier.SubscriptionSku.BuilderisAdditionalInstance(Boolean isAdditionalInstance)Specifies if an additional test instance can be provisioned by the SaaS application.SubscriptionSku.BuilderisBaseServiceComponent(Boolean isBaseServiceComponent)Specifies if the SKU is considered as a parent or child.SubscriptionSku.BuilderlicensePartDescription(String licensePartDescription)Description of the covered product belonging to this SKU.SubscriptionSku.BuildermetricName(String metricName)Base metric for billing the service.SubscriptionSku.Builderquantity(Integer quantity)Quantity of the stock units.SubscriptionSku.Buildersku(String sku)Stock Keeping Unit (SKU) ID.SubscriptionSku.BuilderstartDate(Date startDate)Date and time when the SKU was created.
-
-
-
Method Detail
-
sku
public SubscriptionSku.Builder sku(String sku)
Stock Keeping Unit (SKU) ID.- Parameters:
sku- the value to set- Returns:
- this builder
-
quantity
public SubscriptionSku.Builder quantity(Integer quantity)
Quantity of the stock units.- Parameters:
quantity- the value to set- Returns:
- this builder
-
description
public SubscriptionSku.Builder description(String description)
Description of the stock units.- Parameters:
description- the value to set- Returns:
- this builder
-
gsiOrderLineId
public SubscriptionSku.Builder gsiOrderLineId(String gsiOrderLineId)
Sales order line identifier.- Parameters:
gsiOrderLineId- the value to set- Returns:
- this builder
-
licensePartDescription
public SubscriptionSku.Builder licensePartDescription(String licensePartDescription)
Description of the covered product belonging to this SKU.- Parameters:
licensePartDescription- the value to set- Returns:
- this builder
-
metricName
public SubscriptionSku.Builder metricName(String metricName)
Base metric for billing the service.- Parameters:
metricName- the value to set- Returns:
- this builder
-
isBaseServiceComponent
public SubscriptionSku.Builder isBaseServiceComponent(Boolean isBaseServiceComponent)
Specifies if the SKU is considered as a parent or child.- Parameters:
isBaseServiceComponent- the value to set- Returns:
- this builder
-
isAdditionalInstance
public SubscriptionSku.Builder isAdditionalInstance(Boolean isAdditionalInstance)
Specifies if an additional test instance can be provisioned by the SaaS application.- Parameters:
isAdditionalInstance- the value to set- Returns:
- this builder
-
startDate
public SubscriptionSku.Builder startDate(Date startDate)
Date and time when the SKU was created.- Parameters:
startDate- the value to set- Returns:
- this builder
-
endDate
public SubscriptionSku.Builder endDate(Date endDate)
Date and time when the SKU ended.- Parameters:
endDate- the value to set- Returns:
- this builder
-
build
public SubscriptionSku build()
-
copy
public SubscriptionSku.Builder copy(SubscriptionSku model)
-
-