Class SnapshotsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.SnapshotsRequest
public class SnapshotsRequest extends CatRequestBase
Returns all snapshots in a specific repository.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotsRequest.BuilderBuilder forSnapshotsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<SnapshotsRequest,SnapshotsResponse,ErrorResponse>_ENDPOINTEndpoint "cat.snapshots". -
Method Summary
Modifier and Type Method Description java.lang.BooleanignoreUnavailable()Set to true to ignore unavailable snapshotsstatic SnapshotsRequestof(java.util.function.Function<SnapshotsRequest.Builder,ObjectBuilder<SnapshotsRequest>> fn)java.util.List<java.lang.String>repository()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
-
Field Details
-
_ENDPOINT
Endpoint "cat.snapshots".
-
-
Method Details
-
of
public static SnapshotsRequest of(java.util.function.Function<SnapshotsRequest.Builder,ObjectBuilder<SnapshotsRequest>> fn) -
repository
public final java.util.List<java.lang.String> repository()Name of repository from which to fetch the snapshot informationAPI name:
repository
-