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 Details

    • 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

      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

      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

      A ReplayDestination object that contains details about the replay.

      Parameters:
      destination - A ReplayDestination object that contains details about the replay.
      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.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      destination - a consumer that will call methods on ReplayDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.