Class NodeShutdownStatus
java.lang.Object
co.elastic.clients.elasticsearch.shutdown.get_node.NodeShutdownStatus
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class NodeShutdownStatus extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeShutdownStatus.Builder
Builder forNodeShutdownStatus
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeShutdownStatus>
_DESERIALIZER
Json deserializer forNodeShutdownStatus
-
Method Summary
Modifier and Type Method Description java.lang.String
nodeId()
Required - API name:node_id
static NodeShutdownStatus
of(java.util.function.Function<NodeShutdownStatus.Builder,ObjectBuilder<NodeShutdownStatus>> fn)
PersistentTaskStatus
persistentTasks()
Required - API name:persistent_tasks
PluginsStatus
plugins()
Required - API name:plugins
java.lang.String
reason()
Required - API name:reason
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupNodeShutdownStatusDeserializer(ObjectDeserializer<NodeShutdownStatus.Builder> op)
ShardMigrationStatus
shardMigration()
Required - API name:shard_migration
DateTime
shutdownStartedmillis()
Required - API name:shutdown_startedmillis
ShutdownStatus
status()
Required - API name:status
java.lang.String
toString()
ShutdownType
type()
Required - API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeShutdownStatus
-
-
Method Details
-
of
public static NodeShutdownStatus of(java.util.function.Function<NodeShutdownStatus.Builder,ObjectBuilder<NodeShutdownStatus>> fn) -
nodeId
public final java.lang.String nodeId()Required - API name:node_id
-
type
Required - API name:type
-
reason
public final java.lang.String reason()Required - API name:reason
-
shutdownStartedmillis
Required - API name:shutdown_startedmillis
-
status
Required - API name:status
-
shardMigration
Required - API name:shard_migration
-
persistentTasks
Required - API name:persistent_tasks
-
plugins
Required - API name:plugins
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupNodeShutdownStatusDeserializer
protected static void setupNodeShutdownStatusDeserializer(ObjectDeserializer<NodeShutdownStatus.Builder> op)
-