Class FieldTypes.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.stats.FieldTypes.Builder
- All Implemented Interfaces:
CopyableBuilder<FieldTypes.Builder,,FieldTypes> MutableBuilder<FieldTypes.Builder,,FieldTypes> ObjectBuilder<FieldTypes>
- Enclosing class:
FieldTypes
public static class FieldTypes.Builder
extends ObjectBuilderBase
implements CopyableBuilder<FieldTypes.Builder,FieldTypes>
Builder for
FieldTypes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFieldTypes.copy()Create a new builderCopyableBuilderthat is a copy of this one.final FieldTypes.Buildercount(int value) Required - The number of occurrences of the field type in selected nodes.final FieldTypes.BuilderindexCount(int value) Required - The number of indexes containing the field type in selected nodes.final FieldTypes.BuilderRequired - API name:nameMethods 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<FieldTypes.Builder,FieldTypes> - Returns:
- a new builder instance.
-
count
Required - The number of occurrences of the field type in selected nodes.API name:
count -
indexCount
Required - The number of indexes containing the field type in selected nodes.API name:
index_count -
name
Required - API name:name -
build
Builds aFieldTypes.- Specified by:
buildin interfaceObjectBuilder<FieldTypes>- Throws:
NullPointerException- if some of the required fields are null.
-