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