Interface DeleteMemoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteMemoryRequest.Builder,,DeleteMemoryRequest> OpenSearchMemoryRequest.Builder,SdkBuilder<DeleteMemoryRequest.Builder,,DeleteMemoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteMemoryRequest
@Mutable
@NotThreadSafe
public static interface DeleteMemoryRequest.Builder
extends OpenSearchMemoryRequest.Builder, SdkPojo, CopyableBuilder<DeleteMemoryRequest.Builder,DeleteMemoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the actor that the memory must belong to.The ID of the memory to delete.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 owns the memory.strategyName(String strategyName) The name of the strategy that 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 owns the memory.
- Parameters:
spaceId- The ID of the space that owns the memory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryId
The ID of the memory to delete.
- Parameters:
memoryId- The ID of the memory to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actorId
The ID of the actor that 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 that 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 that 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 that 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
DeleteMemoryRequest.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
DeleteMemoryRequest.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.
-