Class SnapshotsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.cat.SnapshotsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<SnapshotsRequest>
- Enclosing class:
- SnapshotsRequest
public static class SnapshotsRequest.Builder extends java.lang.Object implements ObjectBuilder<SnapshotsRequest>
Builder for
SnapshotsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SnapshotsRequest.BuilderaddRepository(java.lang.String value)Add a value torepository(List), creating the list if needed.SnapshotsRequestbuild()Builds aSnapshotsRequest.SnapshotsRequest.BuilderignoreUnavailable(java.lang.Boolean value)Set to true to ignore unavailable snapshotsSnapshotsRequest.Builderrepository(java.lang.String... value)Name of repository from which to fetch the snapshot informationSnapshotsRequest.Builderrepository(java.util.List<java.lang.String> value)Name of repository from which to fetch the snapshot informationMethods 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
Name of repository from which to fetch the snapshot informationAPI name:
repository -
repository
Name of repository from which to fetch the snapshot informationAPI name:
repository -
addRepository
Add a value torepository(List), creating the list if needed. -
build
Builds aSnapshotsRequest.- Specified by:
buildin interfaceObjectBuilder<SnapshotsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-