Class StatusRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.StatusRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<StatusRequest>
- Enclosing class:
- StatusRequest
public static class StatusRequest.Builder extends java.lang.Object implements ObjectBuilder<StatusRequest>
Builder for
StatusRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StatusRequest.BuilderaddSnapshot(java.lang.String value)Add a value tosnapshot(List), creating the list if needed.StatusRequestbuild()Builds aStatusRequest.StatusRequest.BuilderignoreUnavailable(java.lang.Boolean value)Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrownStatusRequest.BuildermasterTimeout(java.lang.String value)Explicit operation timeout for connection to master nodeStatusRequest.Builderrepository(java.lang.String value)A repository nameStatusRequest.Buildersnapshot(java.lang.String... value)A comma-separated list of snapshot namesStatusRequest.Buildersnapshot(java.util.List<java.lang.String> value)A comma-separated list of snapshot namesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repository
A repository nameAPI name:
repository -
snapshot
A comma-separated list of snapshot namesAPI name:
snapshot -
snapshot
A comma-separated list of snapshot namesAPI name:
snapshot -
addSnapshot
Add a value tosnapshot(List), creating the list if needed. 4 -
masterTimeout
Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
build
Builds aStatusRequest.- Specified by:
buildin interfaceObjectBuilder<StatusRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-