Class CfnPipe.DeadLetterConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.DeadLetterConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.DeadLetterConfigProperty>
- Enclosing interface:
CfnPipe.DeadLetterConfigProperty
@Stability(Stable)
public static final class CfnPipe.DeadLetterConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.DeadLetterConfigProperty>
A builder for
CfnPipe.DeadLetterConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipe.DeadLetterConfigProperty.getArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnPipe.DeadLetterConfigProperty.getArn()
- Parameters:
arn
- The ARN of the specified target for the dead-letter queue. For Amazon Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS topic or Amazon SQS queue ARN.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.DeadLetterConfigProperty>
- Returns:
- a new instance of
CfnPipe.DeadLetterConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-