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