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