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