All Superinterfaces:
Buildable, CopyableBuilder<Subscription.Builder,Subscription>, SdkBuilder<Subscription.Builder,Subscription>, SdkPojo
Enclosing class:
Subscription

public static interface Subscription.Builder extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
  • Method Details

    • instanceCount

      Subscription.Builder instanceCount(Long instanceCount)

      The total amount of running instances using this subscription.

      Parameters:
      instanceCount - The total amount of running instances using this subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the subscription.

      Parameters:
      name - The name of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.

      Parameters:
      type - The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.