Interface StartReplayRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartReplayRequest.Builder,,StartReplayRequest> EventBridgeRequest.Builder,SdkBuilder<StartReplayRequest.Builder,,StartReplayRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartReplayRequest
@Mutable
@NotThreadSafe
public static interface StartReplayRequest.Builder
extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<StartReplayRequest.Builder,StartReplayRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description for the replay to start.default StartReplayRequest.Builderdestination(Consumer<ReplayDestination.Builder> destination) AReplayDestinationobject that includes details about the destination for the replay.destination(ReplayDestination destination) AReplayDestinationobject that includes details about the destination for the replay.eventEndTime(Instant eventEndTime) A time stamp for the time to stop replaying events.eventSourceArn(String eventSourceArn) The ARN of the archive to replay events from.eventStartTime(Instant eventStartTime) A time stamp for the time to start replaying events.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replayName(String replayName) The name of the replay to start.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
A time stamp for the time to start replaying events. Only events that occurred between the
EventStartTimeandEventEndTimeare replayed.- Parameters:
eventStartTime- A time stamp for the time to start replaying events. Only events that occurred between theEventStartTimeandEventEndTimeare replayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventEndTime
A time stamp for the time to stop replaying events. Only events that occurred between the
EventStartTimeandEventEndTimeare replayed.- Parameters:
eventEndTime- A time stamp for the time to stop replaying events. Only events that occurred between theEventStartTimeandEventEndTimeare replayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
A
ReplayDestinationobject that includes details about the destination for the replay.- Parameters:
destination- AReplayDestinationobject 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
This is a convenience method that creates an instance of theReplayDestinationobject that includes details about the destination for 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:
-
overrideConfiguration
StartReplayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartReplayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-