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