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