Interface Subscription.Builder

    • 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.