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