Class CfnEventSource.OnFailureConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eventsv2.CfnEventSource.OnFailureConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSource.OnFailureConfigurationProperty>
- Enclosing interface:
CfnEventSource.OnFailureConfigurationProperty
@Stability(Stable)
public static final class CfnEventSource.OnFailureConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSource.OnFailureConfigurationProperty>
A builder for
CfnEventSource.OnFailureConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEventSource.OnFailureConfigurationProperty.getArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnEventSource.OnFailureConfigurationProperty.getArn()- Parameters:
arn- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSource.OnFailureConfigurationProperty>- Returns:
- a new instance of
CfnEventSource.OnFailureConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-