Class SearchShardsNodeAttributes
java.lang.Object
co.elastic.clients.elasticsearch.core.search_shards.SearchShardsNodeAttributes
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class SearchShardsNodeAttributes
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SearchShardsNodeAttributes>Json deserializer forSearchShardsNodeAttributes -
Method Summary
Modifier and TypeMethodDescriptionRequired - Lists node attributes.final StringRequired - The ephemeral ID of the node.final StringRequired - API name:external_idfinal intRequired - API name:max_index_versionfinal intRequired - API name:min_index_versionfinal Stringname()Required - The human-readable identifier of the node.static SearchShardsNodeAttributesroles()Required - API name:rolesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupSearchShardsNodeAttributesDeserializer(ObjectDeserializer<SearchShardsNodeAttributes.Builder> op) toString()final StringRequired - The host and port where transport HTTP connections are accepted.final Stringversion()Required - API name:version
-
Field Details
-
_DESERIALIZER
Json deserializer forSearchShardsNodeAttributes
-
-
Method Details
-
of
public static SearchShardsNodeAttributes of(Function<SearchShardsNodeAttributes.Builder, ObjectBuilder<SearchShardsNodeAttributes>> fn) -
name
Required - The human-readable identifier of the node.API name:
name -
ephemeralId
Required - The ephemeral ID of the node.API name:
ephemeral_id -
transportAddress
Required - The host and port where transport HTTP connections are accepted.API name:
transport_address -
externalId
Required - API name:external_id -
attributes
Required - Lists node attributes.API name:
attributes -
roles
Required - API name:roles -
version
Required - API name:version -
minIndexVersion
public final int minIndexVersion()Required - API name:min_index_version -
maxIndexVersion
public final int maxIndexVersion()Required - API name:max_index_version -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSearchShardsNodeAttributesDeserializer
protected static void setupSearchShardsNodeAttributesDeserializer(ObjectDeserializer<SearchShardsNodeAttributes.Builder> op)
-