Class PluginsRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<PluginsRequest.Builder>
org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder<PluginsRequest.Builder>
org.opensearch.client.opensearch.cat.PluginsRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<PluginsRequest.Builder,,PluginsRequest> MutableBuilder<PluginsRequest.Builder,,PluginsRequest> ObjectBuilder<PluginsRequest>
- Enclosing class:
PluginsRequest
public static class PluginsRequest.Builder
extends CatRequestBase.AbstractBuilder<PluginsRequest.Builder>
implements CopyableBuilder<PluginsRequest.Builder,PluginsRequest>
Builder for
PluginsRequest.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPluginsRequest.final PluginsRequest.BuilderThe amount of time allowed to establish a connection to the cluster manager node.final PluginsRequest.BuilderclusterManagerTimeout(Time value) The amount of time allowed to establish a connection to the cluster manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.final PluginsRequest.BuilderDeprecated.final PluginsRequest.BuildermasterTimeout(Time value) Deprecated.protected PluginsRequest.Builderself()Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, headers, sort, sortMethods 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<PluginsRequest.Builder,PluginsRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<PluginsRequest.Builder>
-
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final PluginsRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
masterTimeout
@Deprecated @Nonnull public final PluginsRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
build
Builds aPluginsRequest.- Specified by:
buildin interfaceObjectBuilder<PluginsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-