Class DlqDestinationConfig.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.DlqDestinationConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DlqDestinationConfig>
- Enclosing interface:
DlqDestinationConfig
@Stability(Stable)
public static final class DlqDestinationConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DlqDestinationConfig>
A builder for
DlqDestinationConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destination
(String destination) Sets the value ofDlqDestinationConfig.getDestination()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofDlqDestinationConfig.getDestination()
- Parameters:
destination
- The Amazon Resource Name (ARN) of the destination resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DlqDestinationConfig>
- Returns:
- a new instance of
DlqDestinationConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-