Interface EksAnywhereSubscription.Builder

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

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

    • id

      UUID identifying a subscription.

      Parameters:
      id - UUID identifying a subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) for the subscription.

      Parameters:
      arn - The Amazon Resource Name (ARN) for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The Unix timestamp in seconds for when the subscription was created.

      Parameters:
      createdAt - The Unix timestamp in seconds for when the subscription was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • effectiveDate

      EksAnywhereSubscription.Builder effectiveDate(Instant effectiveDate)

      The Unix timestamp in seconds for when the subscription is effective.

      Parameters:
      effectiveDate - The Unix timestamp in seconds for when the subscription is effective.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationDate

      EksAnywhereSubscription.Builder expirationDate(Instant expirationDate)

      The Unix timestamp in seconds for when the subscription will expire or auto renew, depending on the auto renew configuration of the subscription object.

      Parameters:
      expirationDate - The Unix timestamp in seconds for when the subscription will expire or auto renew, depending on the auto renew configuration of the subscription object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licenseQuantity

      EksAnywhereSubscription.Builder licenseQuantity(Integer licenseQuantity)

      The number of licenses included in a subscription. Valid values are between 1 and 100.

      Parameters:
      licenseQuantity - The number of licenses included in a subscription. Valid values are between 1 and 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licenseType

      EksAnywhereSubscription.Builder licenseType(String licenseType)

      The type of licenses included 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 type of licenses included 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 type of licenses included 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 type of licenses included 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:
    • term

      An EksAnywhereSubscriptionTerm object.

      Parameters:
      term - An EksAnywhereSubscriptionTerm object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • term

      An EksAnywhereSubscriptionTerm object.

      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:
    • status

      The status of a subscription.

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

      A boolean indicating whether or not a subscription will auto renew when it expires.

      Parameters:
      autoRenew - A boolean indicating whether or not a subscription will auto renew when it expires.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licenseArns

      Amazon Web Services License Manager ARN associated with the subscription.

      Parameters:
      licenseArns - Amazon Web Services License Manager ARN associated with the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licenseArns

      EksAnywhereSubscription.Builder licenseArns(String... licenseArns)

      Amazon Web Services License Manager ARN associated with the subscription.

      Parameters:
      licenseArns - Amazon Web Services License Manager ARN associated with the subscription.
      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 do not 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 do not propagate to any other resources associated with the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.