Class ClusterManagerRecord
java.lang.Object
org.opensearch.client.opensearch.cat.cluster_manager.ClusterManagerRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterManagerRecord.Builder,ClusterManagerRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterManagerRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterManagerRecord.Builder,ClusterManagerRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterManagerRecord> Json deserializer forClusterManagerRecord -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterManagerRecord.Builderbuilder()booleaninthashCode()final Stringhost()hostnamefinal Stringid()node idfinal Stringip()IP addressfinal Stringnode()node namestatic ClusterManagerRecordvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterManagerRecord
-
-
Method Details
-
of
public static ClusterManagerRecord of(Function<ClusterManagerRecord.Builder, ObjectBuilder<ClusterManagerRecord>> fn) -
host
hostnameAPI name:
host -
id
node idAPI name:
id -
ip
IP addressAPI name:
ip -
node
node nameAPI name:
node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterManagerRecord.Builder,ClusterManagerRecord> - Returns:
- a new builder instance.
-
builder
-
setupClusterManagerRecordDeserializer
protected static void setupClusterManagerRecordDeserializer(ObjectDeserializer<ClusterManagerRecord.Builder> op) -
hashCode
public int hashCode() -
equals
-