Class MasterRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.master.MasterRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class MasterRecord extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMasterRecord.BuilderBuilder forMasterRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MasterRecord>_DESERIALIZERJson deserializer forMasterRecord -
Constructor Summary
Constructors Constructor Description MasterRecord(MasterRecord.Builder builder)MasterRecord(java.util.function.Function<MasterRecord.Builder,MasterRecord.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringhost()host namejava.lang.Stringid()node idjava.lang.Stringip()ip addressjava.lang.Stringnode()node namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMasterRecordDeserializer(DelegatingDeserializer<MasterRecord.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMasterRecord
-
-
Constructor Details
-
MasterRecord
-
MasterRecord
-
-
Method Details
-
id
@Nullable public java.lang.String id()node idAPI name:
id -
host
@Nullable public java.lang.String host()host nameAPI name:
host -
ip
@Nullable public java.lang.String ip()ip addressAPI name:
ip -
node
@Nullable public java.lang.String node()node nameAPI name:
node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMasterRecordDeserializer
protected static void setupMasterRecordDeserializer(DelegatingDeserializer<MasterRecord.Builder> op)
-