Class CfnRule.DeadLetterConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnRule.DeadLetterConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.DeadLetterConfigProperty>
- Enclosing interface:
CfnRule.DeadLetterConfigProperty
@Stability(Stable)
public static final class CfnRule.DeadLetterConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.DeadLetterConfigProperty>
A builder for
CfnRule.DeadLetterConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRule.DeadLetterConfigProperty.getArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnRule.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<CfnRule.DeadLetterConfigProperty>
- Returns:
- a new instance of
CfnRule.DeadLetterConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-