Interface DescribeReplayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeReplayResponse.Builder,DescribeReplayResponse>,EventBridgeResponse.Builder,SdkBuilder<DescribeReplayResponse.Builder,DescribeReplayResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeReplayResponse
public static interface DescribeReplayResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeReplayResponse.Builder,DescribeReplayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeReplayResponse.Builderdescription(String description)The description of the replay.default DescribeReplayResponse.Builderdestination(Consumer<ReplayDestination.Builder> destination)AReplayDestinationobject that contains details about the replay.DescribeReplayResponse.Builderdestination(ReplayDestination destination)AReplayDestinationobject that contains details about the replay.DescribeReplayResponse.BuildereventEndTime(Instant eventEndTime)The time stamp for the last event that was replayed from the archive.DescribeReplayResponse.BuildereventLastReplayedTime(Instant eventLastReplayedTime)The time that the event was last replayed.DescribeReplayResponse.BuildereventSourceArn(String eventSourceArn)The ARN of the archive events were replayed from.DescribeReplayResponse.BuildereventStartTime(Instant eventStartTime)The time stamp of the first event that was last replayed from the archive.DescribeReplayResponse.BuilderreplayArn(String replayArn)The ARN of the replay.DescribeReplayResponse.BuilderreplayEndTime(Instant replayEndTime)A time stamp for the time that the replay stopped.DescribeReplayResponse.BuilderreplayName(String replayName)The name of the replay.DescribeReplayResponse.BuilderreplayStartTime(Instant replayStartTime)A time stamp for the time that the replay started.DescribeReplayResponse.Builderstate(String state)The current state of the replay.DescribeReplayResponse.Builderstate(ReplayState state)The current state of the replay.DescribeReplayResponse.BuilderstateReason(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 Detail
-
replayName
DescribeReplayResponse.Builder replayName(String 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
DescribeReplayResponse.Builder replayArn(String 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
DescribeReplayResponse.Builder description(String 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
DescribeReplayResponse.Builder state(String 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:
ReplayState,ReplayState
-
state
DescribeReplayResponse.Builder state(ReplayState 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:
ReplayState,ReplayState
-
stateReason
DescribeReplayResponse.Builder stateReason(String 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
DescribeReplayResponse.Builder eventSourceArn(String 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
DescribeReplayResponse.Builder destination(ReplayDestination destination)
A
ReplayDestinationobject that contains details about the replay.- Parameters:
destination- AReplayDestinationobject that contains details about the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default DescribeReplayResponse.Builder destination(Consumer<ReplayDestination.Builder> destination)
A
This is a convenience method that creates an instance of theReplayDestinationobject that contains details about 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)
-
eventStartTime
DescribeReplayResponse.Builder eventStartTime(Instant 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
DescribeReplayResponse.Builder eventEndTime(Instant 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
DescribeReplayResponse.Builder eventLastReplayedTime(Instant 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
DescribeReplayResponse.Builder replayStartTime(Instant 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
DescribeReplayResponse.Builder replayEndTime(Instant 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.
-
-