Class SnapshotStatusRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<SnapshotStatusRequest.Builder>
org.opensearch.client.opensearch.snapshot.SnapshotStatusRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<SnapshotStatusRequest.Builder,,SnapshotStatusRequest> MutableBuilder<SnapshotStatusRequest.Builder,,SnapshotStatusRequest> ObjectBuilder<SnapshotStatusRequest>
- Enclosing class:
SnapshotStatusRequest
public static class SnapshotStatusRequest.Builder
extends RequestBase.AbstractBuilder<SnapshotStatusRequest.Builder>
implements CopyableBuilder<SnapshotStatusRequest.Builder,SnapshotStatusRequest>
Builder for
SnapshotStatusRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSnapshotStatusRequest.The amount of time to wait for a response from the cluster manager node.clusterManagerTimeout(Time value) The amount of time to wait for a response from the cluster manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.ignoreUnavailable(Boolean value) Whether to ignore any unavailable snapshots, Whenfalse, aSnapshotMissingExceptionis thrown.Deprecated.masterTimeout(Time value) Deprecated.repository(String value) The name of the repository containing the snapshot.protected SnapshotStatusRequest.Builderself()A comma-separated list of snapshot names.A comma-separated list of snapshot names.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<SnapshotStatusRequest.Builder,SnapshotStatusRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<SnapshotStatusRequest.Builder>
-
clusterManagerTimeout
The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final SnapshotStatusRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.API name:
cluster_manager_timeout -
masterTimeout
Deprecated.Explicit operation timeout for connection to cluster-manager nodeAPI name:
master_timeout -
masterTimeout
@Deprecated @Nonnull public final SnapshotStatusRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Deprecated.Explicit operation timeout for connection to cluster-manager nodeAPI name:
master_timeout -
repository
The name of the repository containing the snapshot.API name:
repository -
snapshot
A comma-separated list of snapshot names.API name:
snapshotAdds all elements of
listtosnapshot. -
snapshot
A comma-separated list of snapshot names.API name:
snapshotAdds one or more values to
snapshot. -
build
Builds aSnapshotStatusRequest.- Specified by:
buildin interfaceObjectBuilder<SnapshotStatusRequest>- Throws:
NullPointerException- if some of the required fields are null.
-