Class CfnFunctionPropsMixin.DeadLetterConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnFunctionPropsMixin.DeadLetterConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.DeadLetterConfigProperty>
- Enclosing interface:
CfnFunctionPropsMixin.DeadLetterConfigProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.DeadLetterConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.DeadLetterConfigProperty>
A builder for
CfnFunctionPropsMixin.DeadLetterConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.DeadLetterConfigProperty.getTargetArn()Sets the value ofCfnFunctionPropsMixin.DeadLetterConfigProperty.getTargetArn()Sets the value ofCfnFunctionPropsMixin.DeadLetterConfigProperty.getTargetArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetArn
@Stability(Stable) public CfnFunctionPropsMixin.DeadLetterConfigProperty.Builder targetArn(String targetArn) Sets the value ofCfnFunctionPropsMixin.DeadLetterConfigProperty.getTargetArn()- Parameters:
targetArn- The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.- Returns:
this
-
targetArn
@Stability(Stable) public CfnFunctionPropsMixin.DeadLetterConfigProperty.Builder targetArn(ITopicRef targetArn) Sets the value ofCfnFunctionPropsMixin.DeadLetterConfigProperty.getTargetArn()- Parameters:
targetArn- The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.- Returns:
this
-
targetArn
@Stability(Stable) public CfnFunctionPropsMixin.DeadLetterConfigProperty.Builder targetArn(IQueueRef targetArn) Sets the value ofCfnFunctionPropsMixin.DeadLetterConfigProperty.getTargetArn()- Parameters:
targetArn- The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.DeadLetterConfigProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.DeadLetterConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-