Interface Subscription.Builder

    • Method Detail

      • 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

        Subscription.Builder name​(String 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

        Subscription.Builder type​(String 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.