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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EksAnywhereSubscription.Builderarn(String arn)The Amazon Resource Name (ARN) for the subscription.EksAnywhereSubscription.BuilderautoRenew(Boolean autoRenew)A boolean indicating whether or not a subscription will auto renew when it expires.EksAnywhereSubscription.BuildercreatedAt(Instant createdAt)The Unix timestamp in seconds for when the subscription was created.EksAnywhereSubscription.BuildereffectiveDate(Instant effectiveDate)The Unix timestamp in seconds for when the subscription is effective.EksAnywhereSubscription.BuilderexpirationDate(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.EksAnywhereSubscription.Builderid(String id)UUID identifying a subscription.EksAnywhereSubscription.BuilderlicenseArns(String... licenseArns)Amazon Web Services License Manager ARN associated with the subscription.EksAnywhereSubscription.BuilderlicenseArns(Collection<String> licenseArns)Amazon Web Services License Manager ARN associated with the subscription.EksAnywhereSubscription.BuilderlicenseQuantity(Integer licenseQuantity)The number of licenses included in a subscription.EksAnywhereSubscription.BuilderlicenseType(String licenseType)The type of licenses included in the subscription.EksAnywhereSubscription.BuilderlicenseType(EksAnywhereSubscriptionLicenseType licenseType)The type of licenses included in the subscription.EksAnywhereSubscription.Builderstatus(String status)The status of a subscription.EksAnywhereSubscription.Buildertags(Map<String,String> tags)The metadata for a subscription to assist with categorization and organization.default EksAnywhereSubscription.Builderterm(Consumer<EksAnywhereSubscriptionTerm.Builder> term)An EksAnywhereSubscriptionTerm object.EksAnywhereSubscription.Builderterm(EksAnywhereSubscriptionTerm term)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, sdkFieldNameToField, sdkFields
-
-
-
-
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
-
licenseType
EksAnywhereSubscription.Builder licenseType(EksAnywhereSubscriptionLicenseType 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
-
term
EksAnywhereSubscription.Builder term(EksAnywhereSubscriptionTerm 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
default EksAnywhereSubscription.Builder term(Consumer<EksAnywhereSubscriptionTerm.Builder> term)
An EksAnywhereSubscriptionTerm object.
This is a convenience method that creates an instance of theEksAnywhereSubscriptionTerm.Builderavoiding the need to create one manually viaEksAnywhereSubscriptionTerm.builder().When the
Consumercompletes,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:
term(EksAnywhereSubscriptionTerm)
-
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.
-
-