Class EncryptionConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EncryptionConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EncryptionConfiguration>
- Enclosing interface:
- EncryptionConfiguration
@Stability(Stable)
public static final class EncryptionConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<EncryptionConfiguration>
A builder for
EncryptionConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionKey(IKey encryptionKey) Sets the value ofEncryptionConfiguration.getEncryptionKey()encryptionOption(EncryptionOption encryptionOption) Sets the value ofEncryptionConfiguration.getEncryptionOption()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionOption
@Stability(Stable) public EncryptionConfiguration.Builder encryptionOption(EncryptionOption encryptionOption) Sets the value ofEncryptionConfiguration.getEncryptionOption()- Parameters:
encryptionOption- Type of S3 server-side encryption enabled. This parameter is required.- Returns:
this
-
encryptionKey
Sets the value ofEncryptionConfiguration.getEncryptionKey()- Parameters:
encryptionKey- KMS key ARN or ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EncryptionConfiguration>- Returns:
- a new instance of
EncryptionConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-