Class ClusterRemoteInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteInfo
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<JsonpSerializable>
@JsonpDeserializable public class ClusterRemoteInfo extends java.lang.Object implements TaggedUnion<JsonpSerializable>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterRemoteInfo.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterRemoteInfo>_DESERIALIZERstatic java.lang.StringPROXYstatic java.lang.StringSNIFF -
Constructor Summary
Constructors Constructor Description ClusterRemoteInfo(ClusterRemoteInfoVariant value)ClusterRemoteInfo(ObjectBuilder<T> builder)ClusterRemoteInfo(java.util.function.Function<ClusterRemoteInfo.Builder,ClusterRemoteInfo.Builder> fn) -
Method Summary
Modifier and Type Method Description JsonpSerializable_get()java.lang.String_type()Get the of the type of the variant held by this union object.ClusterRemoteProxyInfoproxy()Get theproxyvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterRemoteInfoDeserializer(DelegatingDeserializer<ClusterRemoteInfo.Builder> op)ClusterRemoteSniffInfosniff()Get thesniffvariant value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.util.TaggedUnion
_is
-
Field Details
-
PROXY
public static final java.lang.String PROXY- See Also:
- Constant Field Values
-
SNIFF
public static final java.lang.String SNIFF- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
ClusterRemoteInfo
-
ClusterRemoteInfo
-
ClusterRemoteInfo
public ClusterRemoteInfo(java.util.function.Function<ClusterRemoteInfo.Builder,ClusterRemoteInfo.Builder> fn)
-
-
Method Details
-
_type
public java.lang.String _type()Description copied from interface:TaggedUnionGet the of the type of the variant held by this union object.- Specified by:
_typein interfaceTaggedUnion<JsonpSerializable>- Returns:
- the variant type
-
_get
- Specified by:
_getin interfaceTaggedUnion<JsonpSerializable>
-
proxy
Get theproxyvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theproxykind.
-
sniff
Get thesniffvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesniffkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupClusterRemoteInfoDeserializer
protected static void setupClusterRemoteInfoDeserializer(DelegatingDeserializer<ClusterRemoteInfo.Builder> op)
-