public static interface StartReplayRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<StartReplayRequest.Builder,StartReplayRequest>
Modifier and Type | Method and Description |
---|---|
StartReplayRequest.Builder |
description(String description)
A description for the replay to start.
|
default StartReplayRequest.Builder |
destination(Consumer<ReplayDestination.Builder> destination)
A
ReplayDestination object that includes details about the destination for the replay. |
StartReplayRequest.Builder |
destination(ReplayDestination destination)
A
ReplayDestination object that includes details about the destination for the replay. |
StartReplayRequest.Builder |
eventEndTime(Instant eventEndTime)
A time stamp for the time to stop replaying events.
|
StartReplayRequest.Builder |
eventSourceArn(String eventSourceArn)
The ARN of the archive to replay events from.
|
StartReplayRequest.Builder |
eventStartTime(Instant eventStartTime)
A time stamp for the time to start replaying events.
|
StartReplayRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartReplayRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartReplayRequest.Builder |
replayName(String replayName)
The name of the replay to start.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
StartReplayRequest.Builder replayName(String replayName)
The name of the replay to start.
replayName
- The name of the replay to start.StartReplayRequest.Builder description(String description)
A description for the replay to start.
description
- A description for the replay to start.StartReplayRequest.Builder eventSourceArn(String eventSourceArn)
The ARN of the archive to replay events from.
eventSourceArn
- The ARN of the archive to replay events from.StartReplayRequest.Builder eventStartTime(Instant eventStartTime)
A time stamp for the time to start replaying events. Only events that occurred between the
EventStartTime
and EventEndTime
are replayed.
eventStartTime
- A time stamp for the time to start replaying events. Only events that occurred between the
EventStartTime
and EventEndTime
are replayed.StartReplayRequest.Builder eventEndTime(Instant eventEndTime)
A time stamp for the time to stop replaying events. Only events that occurred between the
EventStartTime
and EventEndTime
are replayed.
eventEndTime
- A time stamp for the time to stop replaying events. Only events that occurred between the
EventStartTime
and EventEndTime
are replayed.StartReplayRequest.Builder destination(ReplayDestination destination)
A ReplayDestination
object that includes details about the destination for the replay.
destination
- A ReplayDestination
object that includes details about the destination for the replay.default StartReplayRequest.Builder destination(Consumer<ReplayDestination.Builder> destination)
A ReplayDestination
object that includes details about the destination for the replay.
ReplayDestination.Builder
avoiding the
need to create one manually via ReplayDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to destination(ReplayDestination)
.
destination
- a consumer that will call methods on ReplayDestination.Builder
destination(ReplayDestination)
StartReplayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
StartReplayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.