public static final class CfnEventInvokeConfig.DestinationConfigProperty.Builder
extends java.lang.Object
CfnEventInvokeConfig.DestinationConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEventInvokeConfig.DestinationConfigProperty |
build()
Builds the configured instance.
|
CfnEventInvokeConfig.DestinationConfigProperty.Builder |
onFailure(CfnEventInvokeConfig.OnFailureProperty onFailure)
Sets the value of
CfnEventInvokeConfig.DestinationConfigProperty.getOnFailure() |
CfnEventInvokeConfig.DestinationConfigProperty.Builder |
onFailure(IResolvable onFailure)
Sets the value of
CfnEventInvokeConfig.DestinationConfigProperty.getOnFailure() |
CfnEventInvokeConfig.DestinationConfigProperty.Builder |
onSuccess(CfnEventInvokeConfig.OnSuccessProperty onSuccess)
Sets the value of
CfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess() |
CfnEventInvokeConfig.DestinationConfigProperty.Builder |
onSuccess(IResolvable onSuccess)
Sets the value of
CfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess() |
public CfnEventInvokeConfig.DestinationConfigProperty.Builder onFailure(IResolvable onFailure)
CfnEventInvokeConfig.DestinationConfigProperty.getOnFailure()
onFailure
- The destination configuration for failed invocations.this
public CfnEventInvokeConfig.DestinationConfigProperty.Builder onFailure(CfnEventInvokeConfig.OnFailureProperty onFailure)
CfnEventInvokeConfig.DestinationConfigProperty.getOnFailure()
onFailure
- The destination configuration for failed invocations.this
public CfnEventInvokeConfig.DestinationConfigProperty.Builder onSuccess(IResolvable onSuccess)
CfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess()
onSuccess
- The destination configuration for successful invocations.this
public CfnEventInvokeConfig.DestinationConfigProperty.Builder onSuccess(CfnEventInvokeConfig.OnSuccessProperty onSuccess)
CfnEventInvokeConfig.DestinationConfigProperty.getOnSuccess()
onSuccess
- The destination configuration for successful invocations.this
public CfnEventInvokeConfig.DestinationConfigProperty build()
CfnEventInvokeConfig.DestinationConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided