Class OpenSearchVersionInfo.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.OpenSearchVersionInfo.Builder
- All Implemented Interfaces:
CopyableBuilder<OpenSearchVersionInfo.Builder,,OpenSearchVersionInfo> MutableBuilder<OpenSearchVersionInfo.Builder,,OpenSearchVersionInfo> ObjectBuilder<OpenSearchVersionInfo>
- Enclosing class:
OpenSearchVersionInfo
public static class OpenSearchVersionInfo.Builder
extends ObjectBuilderBase
implements CopyableBuilder<OpenSearchVersionInfo.Builder,OpenSearchVersionInfo>
Builder for
OpenSearchVersionInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aOpenSearchVersionInfo.Required - When the version was built.buildFlavor(String value) The flavor of the build.Required - The hash of the build.buildSnapshot(boolean value) Required - Whether this is a snapshot build.Required - The type of the build.copy()Create a new builderCopyableBuilderthat is a copy of this one.distribution(String value) Required - The distribution name.luceneVersion(String value) Required - The version of Lucene being used.Required - The minimum compatible index version.Required - The minimum compatible wire protocol version.Required - The version number.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<OpenSearchVersionInfo.Builder,OpenSearchVersionInfo> - Returns:
- a new builder instance.
-
buildDate
Required - When the version was built.API name:
build_date -
buildFlavor
The flavor of the build.API name:
build_flavor -
buildHash
Required - The hash of the build.API name:
build_hash -
buildSnapshot
Required - Whether this is a snapshot build.API name:
build_snapshot -
buildType
Required - The type of the build.API name:
build_type -
distribution
Required - The distribution name.API name:
distribution -
luceneVersion
Required - The version of Lucene being used.API name:
lucene_version -
minimumIndexCompatibilityVersion
Required - The minimum compatible index version.API name:
minimum_index_compatibility_version -
minimumWireCompatibilityVersion
Required - The minimum compatible wire protocol version.API name:
minimum_wire_compatibility_version -
number
Required - The version number.API name:
number -
build
Builds aOpenSearchVersionInfo.- Specified by:
buildin interfaceObjectBuilder<OpenSearchVersionInfo>- Throws:
NullPointerException- if some of the required fields are null.
-