Interface EncryptionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfig.Builder,,EncryptionConfig> SdkBuilder<EncryptionConfig.Builder,,EncryptionConfig> SdkPojo
- Enclosing class:
EncryptionConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault EncryptionConfig.Builderprovider(Consumer<Provider.Builder> provider) Key Management Service (KMS) key.Key Management Service (KMS) key.Deprecated.Deprecated.resources(Collection<String> resources) Deprecated.Deprecated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resources
Deprecated.Deprecated. Amazon EKS encrypts all Kubernetes API data by default, so this value no longer determines which resources are encrypted.Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.
Specifies the resources to be encrypted. The only supported value is
secrets.- Parameters:
resources-Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.
Specifies the resources to be encrypted. The only supported value is
secrets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Deprecated.Deprecated. Amazon EKS encrypts all Kubernetes API data by default, so this value no longer determines which resources are encrypted.Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.
Specifies the resources to be encrypted. The only supported value is
secrets.- Parameters:
resources-Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.
Specifies the resources to be encrypted. The only supported value is
secrets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
Key Management Service (KMS) key. Either the ARN or the alias can be used.
- Parameters:
provider- Key Management Service (KMS) key. Either the ARN or the alias can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
Key Management Service (KMS) key. Either the ARN or the alias can be used.
This is a convenience method that creates an instance of theProvider.Builderavoiding the need to create one manually viaProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovider(Provider).- Parameters:
provider- a consumer that will call methods onProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-