Class NodeTasks
java.lang.Object
co.elastic.clients.elasticsearch.tasks.NodeTasks
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class NodeTasks extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeTasks.BuilderBuilder forNodeTasks. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeTasks>_DESERIALIZERJson deserializer forNodeTasks -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>attributes()API name:attributesjava.lang.Stringhost()API name:hostjava.lang.Stringip()API name:ipjava.lang.Stringname()API name:namestatic NodeTasksof(java.util.function.Function<NodeTasks.Builder,ObjectBuilder<NodeTasks>> fn)java.util.List<java.lang.String>roles()API name:rolesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNodeTasksDeserializer(ObjectDeserializer<NodeTasks.Builder> op)java.util.Map<java.lang.String,TaskInfo>tasks()Required - API name:tasksjava.lang.StringtoString()java.lang.StringtransportAddress()API name:transport_addressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeTasks
-
-
Method Details
-
of
public static NodeTasks of(java.util.function.Function<NodeTasks.Builder,ObjectBuilder<NodeTasks>> fn) -
name
@Nullable public final java.lang.String name()API name:name -
transportAddress
@Nullable public final java.lang.String transportAddress()API name:transport_address -
host
@Nullable public final java.lang.String host()API name:host -
ip
@Nullable public final java.lang.String ip()API name:ip -
roles
public final java.util.List<java.lang.String> roles()API name:roles -
attributes
public final java.util.Map<java.lang.String,java.lang.String> attributes()API name:attributes -
tasks
Required - API name:tasks -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupNodeTasksDeserializer
-