Class ClusterNetworkTypes
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterNetworkTypes
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterNetworkTypes.Builder,ClusterNetworkTypes>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterNetworkTypes
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterNetworkTypes.Builder,ClusterNetworkTypes>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterNetworkTypes> Json deserializer forClusterNetworkTypes -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterNetworkTypes.Builderbuilder()booleaninthashCode()Required - Contains statistics about the HTTP network types used by selected nodes.static ClusterNetworkTypesvoidserialize(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.Required - Contains statistics about the transport network types used by selected nodes.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 forClusterNetworkTypes
-
-
Method Details
-
of
public static ClusterNetworkTypes of(Function<ClusterNetworkTypes.Builder, ObjectBuilder<ClusterNetworkTypes>> fn) -
httpTypes
Required - Contains statistics about the HTTP network types used by selected nodes.API name:
http_types -
transportTypes
Required - Contains statistics about the transport network types used by selected nodes.API name:
transport_types -
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<ClusterNetworkTypes.Builder,ClusterNetworkTypes> - Returns:
- a new builder instance.
-
builder
-
setupClusterNetworkTypesDeserializer
protected static void setupClusterNetworkTypesDeserializer(ObjectDeserializer<ClusterNetworkTypes.Builder> op) -
hashCode
public int hashCode() -
equals
-