Class CfnReplayProps.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnReplayProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplayProps>
- Enclosing interface:
CfnReplayProps
@Stability(Stable)
public static final class CfnReplayProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplayProps>
A builder for
CfnReplayProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(IResolvable destination) Sets the value ofCfnReplayProps.getDestination()destination(CfnReplay.DestinationProperty destination) Sets the value ofCfnReplayProps.getDestination()eventEndTime(String eventEndTime) Sets the value ofCfnReplayProps.getEventEndTime()eventSourceArn(String eventSourceArn) Sets the value ofCfnReplayProps.getEventSourceArn()eventStartTime(String eventStartTime) Sets the value ofCfnReplayProps.getEventStartTime()replayName(String replayName) Sets the value ofCfnReplayProps.getReplayName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofCfnReplayProps.getDestination()- Parameters:
destination- A ReplayDestination object that includes details about the destination for the replay. This parameter is required.- Returns:
this
-
destination
@Stability(Stable) public CfnReplayProps.Builder destination(CfnReplay.DestinationProperty destination) Sets the value ofCfnReplayProps.getDestination()- Parameters:
destination- A ReplayDestination object that includes details about the destination for the replay. This parameter is required.- Returns:
this
-
eventEndTime
Sets the value ofCfnReplayProps.getEventEndTime()- Parameters:
eventEndTime- A time stamp for the time to stop replaying events. This parameter is required.- Returns:
this
-
eventSourceArn
Sets the value ofCfnReplayProps.getEventSourceArn()- Parameters:
eventSourceArn- The ARN of the archive to replay events from. This parameter is required.- Returns:
this
-
eventStartTime
Sets the value ofCfnReplayProps.getEventStartTime()- Parameters:
eventStartTime- A time stamp for the time to start replaying events. This parameter is required.- Returns:
this
-
replayName
Sets the value ofCfnReplayProps.getReplayName()- Parameters:
replayName- The name of the replay. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplayProps>- Returns:
- a new instance of
CfnReplayProps - Throws:
NullPointerException- if any required attribute was not provided
-