Interface Subscription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Subscription.Builder,Subscription>,SdkBuilder<Subscription.Builder,Subscription>,SdkPojo
- Enclosing class:
- Subscription
@Mutable @NotThreadSafe public static interface Subscription.Builder extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subscription.BuilderbeginDate(Instant beginDate)The date your subscription starts.Subscription.BuilderendDate(Instant endDate)The date your subscription ends.Subscription.BuildermonthlyRecurringPrice(Double monthlyRecurringPrice)The amount you are billed each month in the subscription period.Subscription.BuilderorderIds(String... orderIds)The order ID for your subscription.Subscription.BuilderorderIds(Collection<String> orderIds)The order ID for your subscription.Subscription.BuildersubscriptionId(String subscriptionId)The ID of the subscription that appears on the Amazon Web Services Billing Center console.Subscription.BuildersubscriptionStatus(String subscriptionStatus)The status of subscription which can be one of the following:Subscription.BuildersubscriptionStatus(SubscriptionStatus subscriptionStatus)The status of subscription which can be one of the following:Subscription.BuildersubscriptionType(String subscriptionType)The type of subscription which can be one of the following:Subscription.BuildersubscriptionType(SubscriptionType subscriptionType)The type of subscription which can be one of the following:Subscription.BuilderupfrontPrice(Double upfrontPrice)The amount billed when the subscription is created.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
subscriptionId
Subscription.Builder subscriptionId(String subscriptionId)
The ID of the subscription that appears on the Amazon Web Services Billing Center console.
- Parameters:
subscriptionId- The ID of the subscription that appears on the Amazon Web Services Billing Center console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionType
Subscription.Builder subscriptionType(String subscriptionType)
The type of subscription which can be one of the following:
-
ORIGINAL - The first order on the Amazon Web Services Outposts.
-
RENEWAL - Renewal requests, both month to month and longer term.
-
CAPACITY_INCREASE - Capacity scaling orders.
- Parameters:
subscriptionType- The type of subscription which can be one of the following:-
ORIGINAL - The first order on the Amazon Web Services Outposts.
-
RENEWAL - Renewal requests, both month to month and longer term.
-
CAPACITY_INCREASE - Capacity scaling orders.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionType,SubscriptionType
-
-
subscriptionType
Subscription.Builder subscriptionType(SubscriptionType subscriptionType)
The type of subscription which can be one of the following:
-
ORIGINAL - The first order on the Amazon Web Services Outposts.
-
RENEWAL - Renewal requests, both month to month and longer term.
-
CAPACITY_INCREASE - Capacity scaling orders.
- Parameters:
subscriptionType- The type of subscription which can be one of the following:-
ORIGINAL - The first order on the Amazon Web Services Outposts.
-
RENEWAL - Renewal requests, both month to month and longer term.
-
CAPACITY_INCREASE - Capacity scaling orders.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionType,SubscriptionType
-
-
subscriptionStatus
Subscription.Builder subscriptionStatus(String subscriptionStatus)
The status of subscription which can be one of the following:
-
INACTIVE - Subscription requests that are inactive.
-
ACTIVE - Subscription requests that are in progress and have an end date in the future.
-
CANCELLED - Subscription requests that are cancelled.
- Parameters:
subscriptionStatus- The status of subscription which can be one of the following:-
INACTIVE - Subscription requests that are inactive.
-
ACTIVE - Subscription requests that are in progress and have an end date in the future.
-
CANCELLED - Subscription requests that are cancelled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
-
subscriptionStatus
Subscription.Builder subscriptionStatus(SubscriptionStatus subscriptionStatus)
The status of subscription which can be one of the following:
-
INACTIVE - Subscription requests that are inactive.
-
ACTIVE - Subscription requests that are in progress and have an end date in the future.
-
CANCELLED - Subscription requests that are cancelled.
- Parameters:
subscriptionStatus- The status of subscription which can be one of the following:-
INACTIVE - Subscription requests that are inactive.
-
ACTIVE - Subscription requests that are in progress and have an end date in the future.
-
CANCELLED - Subscription requests that are cancelled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
-
orderIds
Subscription.Builder orderIds(Collection<String> orderIds)
The order ID for your subscription.
- Parameters:
orderIds- The order ID for your subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderIds
Subscription.Builder orderIds(String... orderIds)
The order ID for your subscription.
- Parameters:
orderIds- The order ID for your subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beginDate
Subscription.Builder beginDate(Instant beginDate)
The date your subscription starts.
- Parameters:
beginDate- The date your subscription starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
Subscription.Builder endDate(Instant endDate)
The date your subscription ends.
- Parameters:
endDate- The date your subscription ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyRecurringPrice
Subscription.Builder monthlyRecurringPrice(Double monthlyRecurringPrice)
The amount you are billed each month in the subscription period.
- Parameters:
monthlyRecurringPrice- The amount you are billed each month in the subscription period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontPrice
Subscription.Builder upfrontPrice(Double upfrontPrice)
The amount billed when the subscription is created. This is a one-time charge.
- Parameters:
upfrontPrice- The amount billed when the subscription is created. This is a one-time charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-