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) The client request token you are using with the encryption configuration.clusterName
(String clusterName) The name of the cluster that you are associating with encryption configuration.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
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 Details
-
clusterName
The name of the cluster that you are associating with encryption configuration.
- Parameters:
clusterName
- The name of the cluster that you are associating with encryption configuration.- 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.Builder
avoiding the need to create one manually viaEncryptionConfig.builder()
.When the
Consumer
completes,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
The client request token you are using with the encryption configuration.
- Parameters:
clientRequestToken
- The client request token you are using with the encryption configuration.- 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-