Interface Subscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Subscription.Builder,
,Subscription> SdkBuilder<Subscription.Builder,
,Subscription> SdkPojo
- Enclosing class:
Subscription
-
Method Summary
Modifier and TypeMethodDescriptionThe date your subscription starts.The date your subscription ends.monthlyRecurringPrice
(Double monthlyRecurringPrice) The amount you are billed each month in the subscription period.The order ID for your subscription.orderIds
(Collection<String> orderIds) The order ID for your subscription.subscriptionId
(String subscriptionId) The ID of the subscription that appears on the Amazon Web Services Billing Center console.subscriptionStatus
(String subscriptionStatus) The status of subscription which can be one of the following:subscriptionStatus
(SubscriptionStatus subscriptionStatus) The status of subscription which can be one of the following:subscriptionType
(String subscriptionType) The type of subscription which can be one of the following:subscriptionType
(SubscriptionType subscriptionType) The type of subscription which can be one of the following:upfrontPrice
(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 Details
-
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
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
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:
-
-
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
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:
-
-
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
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
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
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
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
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.
-