Class GetMemoryRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.ml.GetMemoryRequest
-
- All Implemented Interfaces:
ToCopyableBuilder<GetMemoryRequest.Builder,GetMemoryRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator") public final class GetMemoryRequest extends RequestBase implements ToCopyableBuilder<GetMemoryRequest.Builder,GetMemoryRequest>Get a memory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetMemoryRequest.BuilderBuilder forGetMemoryRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetMemoryRequest,GetMemoryResponse,ErrorResponse>_ENDPOINTEndpoint "ml.get_memory".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMemoryRequest.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringmemoryId()Required - API name:memory_idstatic GetMemoryRequestof(java.util.function.Function<GetMemoryRequest.Builder,ObjectBuilder<GetMemoryRequest>> fn)GetMemoryRequest.BuildertoBuilder()Create a new builderToCopyableBuilderthat is initialised with the current state of this object.-
Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, errorTrace, human
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<GetMemoryRequest,GetMemoryResponse,ErrorResponse> _ENDPOINT
Endpoint "ml.get_memory".
-
-
Method Detail
-
of
public static GetMemoryRequest of(java.util.function.Function<GetMemoryRequest.Builder,ObjectBuilder<GetMemoryRequest>> fn)
-
memoryId
@Nonnull public final java.lang.String memoryId()
Required - API name:memory_id
-
toBuilder
@Nonnull public GetMemoryRequest.Builder toBuilder()
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMemoryRequest.Builder,GetMemoryRequest>- Returns:
- a new builder instance.
-
builder
@Nonnull public static GetMemoryRequest.Builder builder()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-