Class GetAllMemoriesRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.GetAllMemoriesRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetAllMemoriesRequest.Builder,GetAllMemoriesRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetAllMemoriesRequest
extends RequestBase
implements ToCopyableBuilder<GetAllMemoriesRequest.Builder,GetAllMemoriesRequest>
Get all memories.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetAllMemoriesRequest, GetAllMemoriesResponse, ErrorResponse> Endpoint "ml.get_all_memories". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) builder()booleaninthashCode()final IntegerThe maximum number of results to return.final IntegerThe index of the first memory in the sorted list of memories to return.static GetAllMemoriesRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "ml.get_all_memories".
-
-
Method Details
-
of
public static GetAllMemoriesRequest of(Function<GetAllMemoriesRequest.Builder, ObjectBuilder<GetAllMemoriesRequest>> fn) -
maxResults
The maximum number of results to return. If there are fewer memories than the number set inmax_results, the response returns only the number of memories that exist. Default is10.API name:
max_results -
nextToken
The index of the first memory in the sorted list of memories to return. Memories are ordered bycreate_time. For example, if memoriesA,B, andCexist,next_token=1returns memoriesBandC. Default is0(return all memories).API name:
next_token -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAllMemoriesRequest.Builder,GetAllMemoriesRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-