Interface CreateEksAnywhereSubscriptionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateEksAnywhereSubscriptionRequest.Builder,CreateEksAnywhereSubscriptionRequest>, EksRequest.Builder, SdkBuilder<CreateEksAnywhereSubscriptionRequest.Builder,CreateEksAnywhereSubscriptionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateEksAnywhereSubscriptionRequest

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

    • name

      The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer than 100 characters.

      Parameters:
      name - The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer than 100 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • term

      An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.

      Parameters:
      term - An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • term

      An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.

      This is a convenience method that creates an instance of the EksAnywhereSubscriptionTerm.Builder avoiding the need to create one manually via EksAnywhereSubscriptionTerm.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to term(EksAnywhereSubscriptionTerm).

      Parameters:
      term - a consumer that will call methods on EksAnywhereSubscriptionTerm.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • licenseQuantity

      CreateEksAnywhereSubscriptionRequest.Builder licenseQuantity(Integer licenseQuantity)

      The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.

      Parameters:
      licenseQuantity - The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licenseType

      The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.

      Parameters:
      licenseType - The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • licenseType

      The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.

      Parameters:
      licenseType - The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoRenew

      A boolean indicating whether the subscription auto renews at the end of the term.

      Parameters:
      autoRenew - A boolean indicating whether the subscription auto renews at the end of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      CreateEksAnywhereSubscriptionRequest.Builder clientRequestToken(String clientRequestToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      Parameters:
      clientRequestToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags don't propagate to any other resources associated with the subscription.

      Parameters:
      tags - The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags don't propagate to any other resources associated with the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.