Class Memory.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Memory.Builder>
co.elastic.clients.elasticsearch.ml.get_memory_stats.Memory.Builder
- All Implemented Interfaces:
WithJson<Memory.Builder>,ObjectBuilder<Memory>
- Enclosing class:
- Memory
public static class Memory.Builder
extends WithJsonObjectBuilderBase<Memory.Builder>
implements ObjectBuilder<Memory>
Builder for
Memory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Memory.Builderattributes(String key, String value) Required - API name:attributesfinal Memory.Builderattributes(Map<String, String> map) Required - API name:attributesbuild()Builds aMemory.final Memory.BuilderephemeralId(String value) Required - API name:ephemeral_idfinal Memory.BuilderRequired - Contains Java Virtual Machine (JVM) statistics for the node.final Memory.BuilderRequired - Contains Java Virtual Machine (JVM) statistics for the node.final Memory.BuilderRequired - Contains statistics about memory usage for the node.final Memory.BuilderRequired - Contains statistics about memory usage for the node.final Memory.BuilderRequired - Human-readable identifier for the node.final Memory.BuilderRequired - Roles assigned to the node.final Memory.BuilderRequired - Roles assigned to the node.protected Memory.Builderself()final Memory.BuildertransportAddress(String value) Required - The host and port where transport HTTP connections are accepted.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
Required - API name:attributesAdds all entries of
maptoattributes. -
attributes
Required - API name:attributesAdds an entry to
attributes. -
jvm
Required - Contains Java Virtual Machine (JVM) statistics for the node.API name:
jvm -
jvm
Required - Contains Java Virtual Machine (JVM) statistics for the node.API name:
jvm -
mem
Required - Contains statistics about memory usage for the node.API name:
mem -
mem
Required - Contains statistics about memory usage for the node.API name:
mem -
name
Required - Human-readable identifier for the node. Based on the Node name setting setting.API name:
name -
roles
Required - Roles assigned to the node.API name:
rolesAdds all elements of
listtoroles. -
roles
Required - Roles assigned to the node.API name:
rolesAdds one or more values to
roles. -
transportAddress
Required - The host and port where transport HTTP connections are accepted.API name:
transport_address -
ephemeralId
Required - API name:ephemeral_id -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Memory.Builder>
-
build
Builds aMemory.- Specified by:
buildin interfaceObjectBuilder<Memory>- Throws:
NullPointerException- if some of the required fields are null.
-