Interface AssociateEncryptionConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateEncryptionConfigRequest.Builder,,AssociateEncryptionConfigRequest> EksRequest.Builder,SdkBuilder<AssociateEncryptionConfigRequest.Builder,,AssociateEncryptionConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateEncryptionConfigRequest
public static interface AssociateEncryptionConfigRequest.Builder
extends EksRequest.Builder, SdkPojo, CopyableBuilder<AssociateEncryptionConfigRequest.Builder,AssociateEncryptionConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.clusterName(String clusterName) The name of your cluster.encryptionConfig(Collection<EncryptionConfig> encryptionConfig) The configuration you are using for encryption.encryptionConfig(Consumer<EncryptionConfig.Builder>... encryptionConfig) The configuration you are using for encryption.encryptionConfig(EncryptionConfig... encryptionConfig) The configuration you are using for encryption.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterName
The name of your cluster.
- Parameters:
clusterName- The name of your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
AssociateEncryptionConfigRequest.Builder encryptionConfig(Collection<EncryptionConfig> encryptionConfig) The configuration you are using for encryption.
- Parameters:
encryptionConfig- The configuration you are using for encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
The configuration you are using for encryption.
- Parameters:
encryptionConfig- The configuration you are using for encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
AssociateEncryptionConfigRequest.Builder encryptionConfig(Consumer<EncryptionConfig.Builder>... encryptionConfig) The configuration you are using for encryption.
This is a convenience method that creates an instance of theEncryptionConfig.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfig(List<EncryptionConfig>).- Parameters:
encryptionConfig- a consumer that will call methods onEncryptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
AssociateEncryptionConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateEncryptionConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-