Class CfnEventInvokeConfig.DestinationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventInvokeConfig.DestinationConfigProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnEventInvokeConfig.DestinationConfigProperty>
- Enclosing interface:
- CfnEventInvokeConfig.DestinationConfigProperty
@Stability(Stable)
public static final class CfnEventInvokeConfig.DestinationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventInvokeConfig.DestinationConfigProperty>
A builder for 
CfnEventInvokeConfig.DestinationConfigProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.onFailure(IResolvable onFailure) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnFailure()onFailure(CfnEventInvokeConfig.OnFailureProperty onFailure) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnFailure()onSuccess(IResolvable onSuccess) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess()onSuccess(CfnEventInvokeConfig.OnSuccessProperty onSuccess) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
onFailure@Stability(Stable) public CfnEventInvokeConfig.DestinationConfigProperty.Builder onFailure(IResolvable onFailure) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnFailure()- Parameters:
- onFailure- The destination configuration for failed invocations.
- Returns:
- this
 
- 
onFailure@Stability(Stable) public CfnEventInvokeConfig.DestinationConfigProperty.Builder onFailure(CfnEventInvokeConfig.OnFailureProperty onFailure) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnFailure()- Parameters:
- onFailure- The destination configuration for failed invocations.
- Returns:
- this
 
- 
onSuccess@Stability(Stable) public CfnEventInvokeConfig.DestinationConfigProperty.Builder onSuccess(IResolvable onSuccess) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess()- Parameters:
- onSuccess- The destination configuration for successful invocations.
- Returns:
- this
 
- 
onSuccess@Stability(Stable) public CfnEventInvokeConfig.DestinationConfigProperty.Builder onSuccess(CfnEventInvokeConfig.OnSuccessProperty onSuccess) Sets the value ofCfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess()- Parameters:
- onSuccess- The destination configuration for successful invocations.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnEventInvokeConfig.DestinationConfigProperty>
- Returns:
- a new instance of CfnEventInvokeConfig.DestinationConfigProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-