Interface StartReplayRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartReplayRequest.Builder,StartReplayRequest>,EventBridgeRequest.Builder,SdkBuilder<StartReplayRequest.Builder,StartReplayRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartReplayRequest
public static interface StartReplayRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<StartReplayRequest.Builder,StartReplayRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartReplayRequest.Builderdescription(String description)A description for the replay to start.default StartReplayRequest.Builderdestination(Consumer<ReplayDestination.Builder> destination)AReplayDestinationobject that includes details about the destination for the replay.StartReplayRequest.Builderdestination(ReplayDestination destination)AReplayDestinationobject that includes details about the destination for the replay.StartReplayRequest.BuildereventEndTime(Instant eventEndTime)A time stamp for the time to stop replaying events.StartReplayRequest.BuildereventSourceArn(String eventSourceArn)The ARN of the archive to replay events from.StartReplayRequest.BuildereventStartTime(Instant eventStartTime)A time stamp for the time to start replaying events.StartReplayRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartReplayRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartReplayRequest.BuilderreplayName(String replayName)The name of the replay to start.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
replayName
StartReplayRequest.Builder replayName(String replayName)
The name of the replay to start.
- Parameters:
replayName- The name of the replay to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
StartReplayRequest.Builder description(String description)
A description for the replay to start.
- Parameters:
description- A description for the replay to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceArn
StartReplayRequest.Builder eventSourceArn(String eventSourceArn)
The ARN of the archive to replay events from.
- Parameters:
eventSourceArn- The ARN of the archive to replay events from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStartTime
StartReplayRequest.Builder eventStartTime(Instant eventStartTime)
A time stamp for the time to start replaying events. Only events that occurred between the
EventStartTimeandEventEndTimeare replayed.- Parameters:
eventStartTime- A time stamp for the time to start replaying events. Only events that occurred between theEventStartTimeandEventEndTimeare replayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventEndTime
StartReplayRequest.Builder eventEndTime(Instant eventEndTime)
A time stamp for the time to stop replaying events. Only events that occurred between the
EventStartTimeandEventEndTimeare replayed.- Parameters:
eventEndTime- A time stamp for the time to stop replaying events. Only events that occurred between theEventStartTimeandEventEndTimeare replayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
StartReplayRequest.Builder destination(ReplayDestination destination)
A
ReplayDestinationobject that includes details about the destination for the replay.- Parameters:
destination- AReplayDestinationobject that includes details about the destination for the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default StartReplayRequest.Builder destination(Consumer<ReplayDestination.Builder> destination)
A
This is a convenience method that creates an instance of theReplayDestinationobject that includes details about the destination for the replay.ReplayDestination.Builderavoiding the need to create one manually viaReplayDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(ReplayDestination).- Parameters:
destination- a consumer that will call methods onReplayDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destination(ReplayDestination)
-
overrideConfiguration
StartReplayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartReplayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-