Class ClusterInfo
java.lang.Object
org.opensearch.client.opensearch.cluster.allocation_explain.ClusterInfo
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterInfo.Builder,ClusterInfo>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterInfo
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterInfo.Builder,ClusterInfo>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterInfo> Json deserializer forClusterInfo -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterInfo.Builderbuilder()booleaninthashCode()final Map<String, NodeDiskUsage> nodes()Required - API name:nodesstatic ClusterInfofinal List<ReservedSize> Required - API name:reserved_sizesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidAPI name:shard_data_set_sizesRequired - API name:shard_pathsRequired - API name:shard_sizesCreate 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 forClusterInfo
-
-
Method Details
-
of
-
nodes
Required - API name:nodes -
reservedSizes
Required - API name:reserved_sizes -
shardDataSetSizes
API name:shard_data_set_sizes -
shardPaths
Required - API name:shard_paths -
shardSizes
Required - API name:shard_sizes -
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<ClusterInfo.Builder,ClusterInfo> - Returns:
- a new builder instance.
-
builder
-
setupClusterInfoDeserializer
-
hashCode
public int hashCode() -
equals
-