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 Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
CreateEksAnywhereSubscriptionRequest.Builder name(String 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
CreateEksAnywhereSubscriptionRequest.Builder term(EksAnywhereSubscriptionTerm 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
default CreateEksAnywhereSubscriptionRequest.Builder term(Consumer<EksAnywhereSubscriptionTerm.Builder> 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 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)
-
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
CreateEksAnywhereSubscriptionRequest.Builder licenseType(String 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:
EksAnywhereSubscriptionLicenseType,EksAnywhereSubscriptionLicenseType
-
licenseType
CreateEksAnywhereSubscriptionRequest.Builder licenseType(EksAnywhereSubscriptionLicenseType 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:
EksAnywhereSubscriptionLicenseType,EksAnywhereSubscriptionLicenseType
-
autoRenew
CreateEksAnywhereSubscriptionRequest.Builder autoRenew(Boolean 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
CreateEksAnywhereSubscriptionRequest.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 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
CreateEksAnywhereSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEksAnywhereSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-