Class CfnEventBus.DeadLetterConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnEventBus.DeadLetterConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBus.DeadLetterConfigProperty>
- Enclosing interface:
CfnEventBus.DeadLetterConfigProperty
@Stability(Stable)
public static final class CfnEventBus.DeadLetterConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBus.DeadLetterConfigProperty>
A builder for
CfnEventBus.DeadLetterConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEventBus.DeadLetterConfigProperty.getArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnEventBus.DeadLetterConfigProperty.getArn()
- Parameters:
arn
- The ARN of the SQS queue specified as the target for the dead-letter queue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventBus.DeadLetterConfigProperty>
- Returns:
- a new instance of
CfnEventBus.DeadLetterConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-