Interface DescribeReplayResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeReplayResponse.Builder,
,DescribeReplayResponse> EventBridgeResponse.Builder
,SdkBuilder<DescribeReplayResponse.Builder,
,DescribeReplayResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeReplayResponse
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the replay.default DescribeReplayResponse.Builder
destination
(Consumer<ReplayDestination.Builder> destination) AReplayDestination
object that contains details about the replay.destination
(ReplayDestination destination) AReplayDestination
object that contains details about the replay.eventEndTime
(Instant eventEndTime) The time stamp for the last event that was replayed from the archive.eventLastReplayedTime
(Instant eventLastReplayedTime) The time that the event was last replayed.eventSourceArn
(String eventSourceArn) The ARN of the archive events were replayed from.eventStartTime
(Instant eventStartTime) The time stamp of the first event that was last replayed from the archive.The ARN of the replay.replayEndTime
(Instant replayEndTime) A time stamp for the time that the replay stopped.replayName
(String replayName) The name of the replay.replayStartTime
(Instant replayStartTime) A time stamp for the time that the replay started.The current state of the replay.state
(ReplayState state) The current state of the replay.stateReason
(String stateReason) The reason that the replay is in the current state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replayName
The name of the replay.
- Parameters:
replayName
- The name of the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replayArn
The ARN of the replay.
- Parameters:
replayArn
- The ARN of the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the replay.
- Parameters:
description
- The description of the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the replay.
- Parameters:
state
- The current state of the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the replay.
- Parameters:
state
- The current state of the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason that the replay is in the current state.
- Parameters:
stateReason
- The reason that the replay is in the current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceArn
The ARN of the archive events were replayed from.
- Parameters:
eventSourceArn
- The ARN of the archive events were replayed from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
A
ReplayDestination
object that contains details about the replay.- Parameters:
destination
- AReplayDestination
object that contains details about the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
A
This is a convenience method that creates an instance of theReplayDestination
object that contains details about the replay.ReplayDestination.Builder
avoiding the need to create one manually viaReplayDestination.builder()
.When the
Consumer
completes,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:
-
eventStartTime
The time stamp of the first event that was last replayed from the archive.
- Parameters:
eventStartTime
- The time stamp of the first event that was last replayed from the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventEndTime
The time stamp for the last event that was replayed from the archive.
- Parameters:
eventEndTime
- The time stamp for the last event that was replayed from the archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventLastReplayedTime
The time that the event was last replayed.
- Parameters:
eventLastReplayedTime
- The time that the event was last replayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replayStartTime
A time stamp for the time that the replay started.
- Parameters:
replayStartTime
- A time stamp for the time that the replay started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replayEndTime
A time stamp for the time that the replay stopped.
- Parameters:
replayEndTime
- A time stamp for the time that the replay stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-