Class CfnEventAction.ExportServerSideEncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dataexchange.CfnEventAction.ExportServerSideEncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventAction.ExportServerSideEncryptionProperty>
- Enclosing interface:
CfnEventAction.ExportServerSideEncryptionProperty
@Stability(Stable)
public static final class CfnEventAction.ExportServerSideEncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventAction.ExportServerSideEncryptionProperty>
A builder for
CfnEventAction.ExportServerSideEncryptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEventAction.ExportServerSideEncryptionProperty.getKmsKeyArn()Sets the value ofCfnEventAction.ExportServerSideEncryptionProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnEventAction.ExportServerSideEncryptionProperty.Builder type(String type) Sets the value ofCfnEventAction.ExportServerSideEncryptionProperty.getType()- Parameters:
type- The type of server side encryption used for encrypting the objects in Amazon S3. This parameter is required.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnEventAction.ExportServerSideEncryptionProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnEventAction.ExportServerSideEncryptionProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventAction.ExportServerSideEncryptionProperty>- Returns:
- a new instance of
CfnEventAction.ExportServerSideEncryptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-