Class CfnFunctionPropsMixin.DeadLetterQueueProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.DeadLetterQueueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.DeadLetterQueueProperty>
- Enclosing interface:
CfnFunctionPropsMixin.DeadLetterQueueProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.DeadLetterQueueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.DeadLetterQueueProperty>
A builder for
CfnFunctionPropsMixin.DeadLetterQueueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.DeadLetterQueueProperty.getTargetArn()Sets the value ofCfnFunctionPropsMixin.DeadLetterQueueProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetArn
@Stability(Stable) public CfnFunctionPropsMixin.DeadLetterQueueProperty.Builder targetArn(String targetArn) Sets the value ofCfnFunctionPropsMixin.DeadLetterQueueProperty.getTargetArn()- Parameters:
targetArn- the value to be set.- Returns:
this
-
type
Sets the value ofCfnFunctionPropsMixin.DeadLetterQueueProperty.getType()- Parameters:
type- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.DeadLetterQueueProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.DeadLetterQueueProperty - Throws:
NullPointerException- if any required attribute was not provided
-