Class NodeInfoSettingsTransportType
java.lang.Object
org.opensearch.client.opensearch.nodes.info.NodeInfoSettingsTransportType
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,TaggedUnion<NodeInfoSettingsTransportType.Kind,Object>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NodeInfoSettingsTransportType
extends Object
implements TaggedUnion<NodeInfoSettingsTransportType.Kind,Object>, PlainJsonSerializable
The transport layer type configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumNodeInfoSettingsTransportTypevariant kinds. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()_kind()Get the of the kind of variant held by this object.builder()config()Get theconfigvariant value.booleaninthashCode()booleanisConfig()Is this variant instance of kindconfig?booleanisType()Is this variant instance of kindtype?voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) type()Get thetypevariant value.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<NodeInfoSettingsTransportType.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<NodeInfoSettingsTransportType.Kind,Object>
-
of
-
isConfig
public boolean isConfig()Is this variant instance of kindconfig? -
config
Get theconfigvariant value.- Throws:
IllegalStateException- if the current variant is not theconfigkind.
-
isType
public boolean isType()Is this variant instance of kindtype? -
type
Get thetypevariant value.- Throws:
IllegalStateException- if the current variant is not thetypekind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
-
builder
-
hashCode
public int hashCode() -
equals
-