Interface StartReplayRequest.Builder

  • Method Details

    • 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 EventStartTime and EventEndTime are replayed.

      Parameters:
      eventStartTime - A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime and EventEndTime are 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 EventStartTime and EventEndTime are replayed.

      Parameters:
      eventEndTime - A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime and EventEndTime are replayed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      A ReplayDestination object that includes details about the destination for the replay.

      Parameters:
      destination - A ReplayDestination object 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

      A ReplayDestination object that includes details about the destination for 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:
    • overrideConfiguration

      StartReplayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.