Class RankFeaturesProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<RankFeaturesProperty.Builder>
org.opensearch.client.opensearch._types.mapping.RankFeaturesProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<RankFeaturesProperty.Builder,,RankFeaturesProperty> MutableBuilder<RankFeaturesProperty.Builder,,RankFeaturesProperty> ObjectBuilder<RankFeaturesProperty>
- Enclosing class:
RankFeaturesProperty
public static class RankFeaturesProperty.Builder
extends PropertyBase.AbstractBuilder<RankFeaturesProperty.Builder>
implements CopyableBuilder<RankFeaturesProperty.Builder,RankFeaturesProperty>
Builder for
RankFeaturesProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRankFeaturesProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected RankFeaturesProperty.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods 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<RankFeaturesProperty.Builder,RankFeaturesProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<RankFeaturesProperty.Builder>
-
build
Builds aRankFeaturesProperty.- Specified by:
buildin interfaceObjectBuilder<RankFeaturesProperty>- Throws:
NullPointerException- if some of the required fields are null.
-