Class ElasticsearchVersionInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ElasticsearchVersionInfo.Builder>
co.elastic.clients.elasticsearch._types.ElasticsearchVersionInfo.Builder
- All Implemented Interfaces:
WithJson<ElasticsearchVersionInfo.Builder>,ObjectBuilder<ElasticsearchVersionInfo>
- Enclosing class:
- ElasticsearchVersionInfo
public static class ElasticsearchVersionInfo.Builder
extends WithJsonObjectBuilderBase<ElasticsearchVersionInfo.Builder>
implements ObjectBuilder<ElasticsearchVersionInfo>
Builder for
ElasticsearchVersionInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aElasticsearchVersionInfo.Required - The Elasticsearch Git commit's date.buildFlavor(String value) Required - The build flavor.Required - The Elasticsearch Git commit's SHA hash.buildSnapshot(boolean value) Required - Indicates whether the Elasticsearch build was a snapshot.Required - The build type that corresponds to how Elasticsearch was installed.luceneVersion(String value) Required - The version number of Elasticsearch's underlying Lucene software.Required - The minimum index version with which the responding node can read from disk.Required - The minimum node version with which the responding node can communicate.Required - The Elasticsearch version number.protected ElasticsearchVersionInfo.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ElasticsearchVersionInfo.Builder>
-
build
Builds aElasticsearchVersionInfo.- Specified by:
buildin interfaceObjectBuilder<ElasticsearchVersionInfo>- Throws:
NullPointerException- if some of the required fields are null.
-