Interface EncryptionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfig.Builder,,EncryptionConfig> SdkBuilder<EncryptionConfig.Builder,,EncryptionConfig> SdkPojo
- Enclosing class:
EncryptionConfig
public static interface EncryptionConfig.Builder
extends SdkPojo, CopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EncryptionConfig.Builderprovider(Consumer<Provider.Builder> provider) Key Management Service (KMS) key.Key Management Service (KMS) key.Specifies the resources to be encrypted.resources(Collection<String> resources) Specifies the resources to be encrypted.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, sdkFields
-
Method Details
-
resources
Specifies the resources to be encrypted. The only supported value is
secrets.- Parameters:
resources- Specifies the resources to be encrypted. The only supported value issecrets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Specifies the resources to be encrypted. The only supported value is
secrets.- Parameters:
resources- Specifies the resources to be encrypted. The only supported value issecrets.- 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:
-