Class SizeField.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.SizeField.Builder
- All Implemented Interfaces:
CopyableBuilder<SizeField.Builder,,SizeField> MutableBuilder<SizeField.Builder,,SizeField> ObjectBuilder<SizeField>
- Enclosing class:
SizeField
public static class SizeField.Builder
extends ObjectBuilderBase
implements CopyableBuilder<SizeField.Builder,SizeField>
Builder for
SizeField.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSizeField.copy()Create a new builderCopyableBuilderthat is a copy of this one.final SizeField.Builderenabled(boolean value) Required - API name:enabledMethods 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<SizeField.Builder,SizeField> - Returns:
- a new builder instance.
-
enabled
Required - API name:enabled -
build
Builds aSizeField.- Specified by:
buildin interfaceObjectBuilder<SizeField>- Throws:
NullPointerException- if some of the required fields are null.
-