Interface EksAnywhereSubscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EksAnywhereSubscription.Builder,
,EksAnywhereSubscription> SdkBuilder<EksAnywhereSubscription.Builder,
,EksAnywhereSubscription> SdkPojo
- Enclosing class:
EksAnywhereSubscription
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the subscription.A boolean indicating whether or not a subscription will auto renew when it expires.The Unix timestamp in seconds for when the subscription was created.effectiveDate
(Instant effectiveDate) The Unix timestamp in seconds for when the subscription is effective.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.UUID identifying a subscription.licenseArns
(String... licenseArns) License Manager License ARNs associated with the subscription.licenseArns
(Collection<String> licenseArns) License Manager License ARNs associated with the subscription.licenseQuantity
(Integer licenseQuantity) The number of licenses included in a subscription.licenseType
(String licenseType) The type of licenses included in the subscription.licenseType
(EksAnywhereSubscriptionLicenseType licenseType) The type of licenses included in the subscription.The status of a subscription.The metadata for a subscription to assist with categorization and organization.default EksAnywhereSubscription.Builder
An EksAnywhereSubscriptionTerm object.An EksAnywhereSubscriptionTerm object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
The number of licenses included in a subscription. Valid values are between 1 and 1000.
- Parameters:
licenseQuantity
- The number of licenses included in a subscription. Valid values are between 1 and 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theEksAnywhereSubscriptionTerm.Builder
avoiding the need to create one manually viaEksAnywhereSubscriptionTerm.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toterm(EksAnywhereSubscriptionTerm)
.- Parameters:
term
- a consumer that will call methods onEksAnywhereSubscriptionTerm.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
License Manager License ARNs associated with the subscription.
- Parameters:
licenseArns
- License Manager License ARNs associated with the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseArns
License Manager License ARNs associated with the subscription.
- Parameters:
licenseArns
- License Manager License ARNs 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.
-