Class SubscriptionLineItemSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.SubscriptionLineItemSummary.Builder
-
- Enclosing class:
- SubscriptionLineItemSummary
public static class SubscriptionLineItemSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionLineItemSummary.Builder
billingModel(BillingModel billingModel)
Billing model supported by the associated line item.SubscriptionLineItemSummary
build()
SubscriptionLineItemSummary.Builder
copy(SubscriptionLineItemSummary model)
SubscriptionLineItemSummary.Builder
id(String id)
Subscription line item identifier.SubscriptionLineItemSummary.Builder
productCode(String productCode)
Product code.SubscriptionLineItemSummary.Builder
quantity(Float quantity)
Product number.SubscriptionLineItemSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.SubscriptionLineItemSummary.Builder
timeEnded(Date timeEnded)
The time the subscription item and associated products should end.SubscriptionLineItemSummary.Builder
timeStarted(Date timeStarted)
The time the subscription item and associated products should start.
-
-
-
Method Detail
-
id
public SubscriptionLineItemSummary.Builder id(String id)
Subscription line item identifier.- Parameters:
id
- the value to set- Returns:
- this builder
-
productCode
public SubscriptionLineItemSummary.Builder productCode(String productCode)
Product code.- Parameters:
productCode
- the value to set- Returns:
- this builder
-
quantity
public SubscriptionLineItemSummary.Builder quantity(Float quantity)
Product number.- Parameters:
quantity
- the value to set- Returns:
- this builder
-
billingModel
public SubscriptionLineItemSummary.Builder billingModel(BillingModel billingModel)
Billing model supported by the associated line item.- Parameters:
billingModel
- the value to set- Returns:
- this builder
-
timeStarted
public SubscriptionLineItemSummary.Builder timeStarted(Date timeStarted)
The time the subscription item and associated products should start.An RFC 3339 formatted date and time string.
- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public SubscriptionLineItemSummary.Builder timeEnded(Date timeEnded)
The time the subscription item and associated products should end.An RFC 3339 formatted date and time string.
- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
systemTags
public SubscriptionLineItemSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public SubscriptionLineItemSummary build()
-
copy
public SubscriptionLineItemSummary.Builder copy(SubscriptionLineItemSummary model)
-
-