Class PhoneAnalyzer.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.PhoneAnalyzer.Builder
- All Implemented Interfaces:
CopyableBuilder<PhoneAnalyzer.Builder,,PhoneAnalyzer> MutableBuilder<PhoneAnalyzer.Builder,,PhoneAnalyzer> ObjectBuilder<PhoneAnalyzer>
- Enclosing class:
PhoneAnalyzer
public static class PhoneAnalyzer.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PhoneAnalyzer.Builder,PhoneAnalyzer>
Builder for
PhoneAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPhoneAnalyzer.copy()Create a new builderCopyableBuilderthat is a copy of this one.final PhoneAnalyzer.BuilderphoneRegion(String value) Optional ISO 3166 country code, defaults to "ZZ" (unknown region).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<PhoneAnalyzer.Builder,PhoneAnalyzer> - Returns:
- a new builder instance.
-
phoneRegion
Optional ISO 3166 country code, defaults to "ZZ" (unknown region).API name:
phone-region -
build
Builds aPhoneAnalyzer.- Specified by:
buildin interfaceObjectBuilder<PhoneAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-