Class Order.Builder
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.model.Order.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Order.Builder
adminEmail(String adminEmail)
Email address of the administrator who owns the subscription.Order
build()
Order.Builder
copy(Order model)
Order.Builder
dataCenterRegion(String dataCenterRegion)
Order’s data center region.Order.Builder
orderNumber(String orderNumber)
Immutable and unique order number holding customer subscription information.Order.Builder
orderState(String orderState)
State of the order.Order.Builder
subscriptions(List<SubscriptionInfo> subscriptions)
Array of subscriptions associated with the order.
-
-
-
Method Detail
-
orderNumber
public Order.Builder orderNumber(String orderNumber)
Immutable and unique order number holding customer subscription information.- Parameters:
orderNumber
- the value to set- Returns:
- this builder
-
dataCenterRegion
public Order.Builder dataCenterRegion(String dataCenterRegion)
Order’s data center region.- Parameters:
dataCenterRegion
- the value to set- Returns:
- this builder
-
adminEmail
public Order.Builder adminEmail(String adminEmail)
Email address of the administrator who owns the subscription.- Parameters:
adminEmail
- the value to set- Returns:
- this builder
-
orderState
public Order.Builder orderState(String orderState)
State of the order.- Parameters:
orderState
- the value to set- Returns:
- this builder
-
subscriptions
public Order.Builder subscriptions(List<SubscriptionInfo> subscriptions)
Array of subscriptions associated with the order.- Parameters:
subscriptions
- the value to set- Returns:
- this builder
-
build
public Order build()
-
copy
public Order.Builder copy(Order model)
-
-