Class CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesis.CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty>
- Enclosing interface:
CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.errorOutputPrefix(String errorOutputPrefix) expectedBucketOwner(String expectedBucketOwner)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.Builder bucketArn(String bucketArn) - Parameters:
bucketArn- The ARN of the S3 bucket for storing failed records.- Returns:
this
-
errorOutputPrefix
@Stability(Stable) public CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.Builder errorOutputPrefix(String errorOutputPrefix) Sets the value ofCfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.getErrorOutputPrefix()- Parameters:
errorOutputPrefix- Optional S3 key prefix under which error records are organized. When omitted, the service uses the default 'kinesis-channel/errors// /'. - Returns:
this
-
expectedBucketOwner
@Stability(Stable) public CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.Builder expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty.getExpectedBucketOwner()- Parameters:
expectedBucketOwner- The AWS account ID of the expected owner of the dead-letter queue S3 bucket. Used to verify bucket ownership before delivery.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.DeadLetterQueueS3ConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-