Class CreateFeatureRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<CreateFeatureRequest.Builder>
org.opensearch.client.opensearch.ltr.CreateFeatureRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<CreateFeatureRequest.Builder,,CreateFeatureRequest> MutableBuilder<CreateFeatureRequest.Builder,,CreateFeatureRequest> ObjectBuilder<CreateFeatureRequest>
- Enclosing class:
CreateFeatureRequest
public static class CreateFeatureRequest.Builder
extends RequestBase.AbstractBuilder<CreateFeatureRequest.Builder>
implements CopyableBuilder<CreateFeatureRequest.Builder,CreateFeatureRequest>
Builder for
CreateFeatureRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCreateFeatureRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - The name of the feature.Specific routing value.protected CreateFeatureRequest.Builderself()The name of the feature store.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<CreateFeatureRequest.Builder,CreateFeatureRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<CreateFeatureRequest.Builder>
-
id
Required - The name of the feature.API name:
id -
routing
Specific routing value.API name:
routing -
store
The name of the feature store.API name:
store -
build
Builds aCreateFeatureRequest.- Specified by:
buildin interfaceObjectBuilder<CreateFeatureRequest>- Throws:
NullPointerException- if some of the required fields are null.
-