Class Memory
java.lang.Object
org.opensearch.client.opensearch.ml.Memory
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Memory.Builder,Memory>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Memory
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Memory.Builder,Memory>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Memory> Json deserializer forMemory -
Method Summary
Modifier and TypeMethodDescriptionAPI name:additional_infostatic Memory.Builderbuilder()final StringThe create time.booleaninthashCode()final StringmemoryId()API name:memory_idfinal Stringname()API name:namestatic Memoryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()API name:typefinal StringThe updated time.final Stringuser()The username of the user.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forMemory
-
-
Method Details
-
of
-
additionalInfo
API name:additional_info -
createTime
The create time.API name:
create_time -
memoryId
API name:memory_id -
name
API name:name -
type
API name:type -
updatedTime
The updated time.API name:
updated_time -
user
The username of the user.API name:
user -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Memory.Builder,Memory> - Returns:
- a new builder instance.
-
builder
-
setupMemoryDeserializer
-
hashCode
public int hashCode() -
equals
-