Class GetMemoryResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.GetMemoryResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<GetMemoryResponse.Builder,,GetMemoryResponse> MutableBuilder<GetMemoryResponse.Builder,,GetMemoryResponse> ObjectBuilder<GetMemoryResponse>
- Enclosing class:
GetMemoryResponse
public static class GetMemoryResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GetMemoryResponse.Builder,GetMemoryResponse>
Builder for
GetMemoryResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalInfo(String key, JsonData value) API name:additional_infoadditionalInfo(Map<String, JsonData> map) API name:additional_infobuild()Builds aGetMemoryResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.createTime(String value) The create time.API name:memory_idAPI name:nameAPI name:typeupdatedTime(String value) The updated time.The username of the user.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<GetMemoryResponse.Builder,GetMemoryResponse> - Returns:
- a new builder instance.
-
additionalInfo
API name:additional_infoAdds all elements of
maptoadditionalInfo. -
additionalInfo
API name:additional_infoAdds an entry to
additionalInfo. -
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 -
build
Builds aGetMemoryResponse.- Specified by:
buildin interfaceObjectBuilder<GetMemoryResponse>- Throws:
NullPointerException- if some of the required fields are null.
-