Interface EksAnywhereSubscription.Builder

    • Method Detail

      • id

        EksAnywhereSubscription.Builder id​(String 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

        EksAnywhereSubscription.Builder arn​(String 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

        EksAnywhereSubscription.Builder createdAt​(Instant 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:
        EksAnywhereSubscriptionLicenseType, EksAnywhereSubscriptionLicenseType
      • status

        EksAnywhereSubscription.Builder status​(String 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

        EksAnywhereSubscription.Builder autoRenew​(Boolean 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

        EksAnywhereSubscription.Builder licenseArns​(Collection<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.
      • 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

        EksAnywhereSubscription.Builder tags​(Map<String,​String> 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.