Class ExistsPolicyRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<ExistsPolicyRequest.Builder>
org.opensearch.client.opensearch.ism.ExistsPolicyRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<ExistsPolicyRequest.Builder,,ExistsPolicyRequest> MutableBuilder<ExistsPolicyRequest.Builder,,ExistsPolicyRequest> ObjectBuilder<ExistsPolicyRequest>
- Enclosing class:
ExistsPolicyRequest
public static class ExistsPolicyRequest.Builder
extends RequestBase.AbstractBuilder<ExistsPolicyRequest.Builder>
implements CopyableBuilder<ExistsPolicyRequest.Builder,ExistsPolicyRequest>
Builder for
ExistsPolicyRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aExistsPolicyRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - API name:policy_idprotected ExistsPolicyRequest.Builderself()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<ExistsPolicyRequest.Builder,ExistsPolicyRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ExistsPolicyRequest.Builder>
-
policyId
Required - API name:policy_id -
build
Builds aExistsPolicyRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsPolicyRequest>- Throws:
NullPointerException- if some of the required fields are null.
-