Class ElasticsearchVersionInfo
java.lang.Object
co.elastic.clients.elasticsearch._types.ElasticsearchVersionInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class ElasticsearchVersionInfo
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ElasticsearchVersionInfo>Json deserializer forElasticsearchVersionInfo -
Method Summary
Modifier and TypeMethodDescriptionfinal DateTimeRequired - The Elasticsearch Git commit's date.final StringRequired - The build flavor.final StringRequired - The Elasticsearch Git commit's SHA hash.final booleanRequired - Indicates whether the Elasticsearch build was a snapshot.final StringRequired - The build type that corresponds to how Elasticsearch was installed.final StringRequired - The version number of Elasticsearch's underlying Lucene software.final StringRequired - The minimum index version with which the responding node can read from disk.final StringRequired - The minimum node version with which the responding node can communicate.final Stringnumber()Required - The Elasticsearch version number.static ElasticsearchVersionInfovoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forElasticsearchVersionInfo
-
-
Method Details
-
of
public static ElasticsearchVersionInfo of(Function<ElasticsearchVersionInfo.Builder, ObjectBuilder<ElasticsearchVersionInfo>> fn) -
buildDate
Required - The Elasticsearch Git commit's date.API name:
build_date -
buildFlavor
Required - The build flavor. For example,default.API name:
build_flavor -
buildHash
Required - The Elasticsearch Git commit's SHA hash.API name:
build_hash -
buildSnapshot
public final boolean buildSnapshot()Required - Indicates whether the Elasticsearch build was a snapshot.API name:
build_snapshot -
buildType
Required - The build type that corresponds to how Elasticsearch was installed. For example,docker,rpm, ortar.API name:
build_type -
luceneVersion
Required - The version number of Elasticsearch's underlying Lucene software.API name:
lucene_version -
minimumIndexCompatibilityVersion
Required - The minimum index version with which the responding node can read from disk.API name:
minimum_index_compatibility_version -
minimumWireCompatibilityVersion
Required - The minimum node version with which the responding node can communicate. Also the minimum version from which you can perform a rolling upgrade.API name:
minimum_wire_compatibility_version -
number
Required - The Elasticsearch version number.::: IMPORTANT: For Serverless deployments, this static value is always
8.11.0and is used solely for backward compatibility with legacy clients. Serverless environments are versionless and automatically upgraded, so this value can be safely ignored.API name:
number -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupElasticsearchVersionInfoDeserializer
protected static void setupElasticsearchVersionInfoDeserializer(ObjectDeserializer<ElasticsearchVersionInfo.Builder> op)
-