Class CfnReplay.DestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnReplay.DestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplay.DestinationProperty>
- Enclosing interface:
CfnReplay.DestinationProperty
@Stability(Stable)
public static final class CfnReplay.DestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplay.DestinationProperty>
A builder for
CfnReplay.DestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnReplay.DestinationProperty.getArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnReplay.DestinationProperty.getArn()- Parameters:
arn- The ARN of the event bus to replay events to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplay.DestinationProperty>- Returns:
- a new instance of
CfnReplay.DestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-