Interface GetEventRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetEventRequest.Builder,,GetEventRequest> OpenSearchMemoryRequest.Builder,SdkBuilder<GetEventRequest.Builder,,GetEventRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetEventRequest
@Mutable
@NotThreadSafe
public static interface GetEventRequest.Builder
extends OpenSearchMemoryRequest.Builder, SdkPojo, CopyableBuilder<GetEventRequest.Builder,GetEventRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe actor the event must belong to.The event's ID, as returned byCreateEvent,ListEvents, orSearchEvents.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The session the event must belong to.The ID of the space.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.opensearchmemory.model.OpenSearchMemoryRequest.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
-
spaceId
The ID of the space.
- Parameters:
spaceId- The ID of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
The event's ID, as returned by
CreateEvent,ListEvents, orSearchEvents.- Parameters:
eventId- The event's ID, as returned byCreateEvent,ListEvents, orSearchEvents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actorId
The actor the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with
ResourceNotFoundException, as if the event did not exist.- Parameters:
actorId- The actor the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails withResourceNotFoundException, as if the event did not exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The session the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with
ResourceNotFoundException, as if the event did not exist.- Parameters:
sessionId- The session the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails withResourceNotFoundException, as if the event did not exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetEventRequest.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
GetEventRequest.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.
-