Class CleanupRepositoryRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.CleanupRepositoryRequest
public class CleanupRepositoryRequest extends RequestBase
Triggers the review of a snapshot repository’s contents and deletes any stale
data not referenced by existing snapshots.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCleanupRepositoryRequest.BuilderBuilder forCleanupRepositoryRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<CleanupRepositoryRequest,CleanupRepositoryResponse,ErrorResponse>_ENDPOINTEndpoint "snapshot.cleanup_repository". -
Method Summary
Modifier and Type Method Description TimemasterTimeout()Period to wait for a connection to the master node.java.lang.Stringname()Required - Snapshot repository to clean up.static CleanupRepositoryRequestof(java.util.function.Function<CleanupRepositoryRequest.Builder,ObjectBuilder<CleanupRepositoryRequest>> fn)Timetimeout()Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<CleanupRepositoryRequest,CleanupRepositoryResponse,ErrorResponse> _ENDPOINTEndpoint "snapshot.cleanup_repository".
-
-
Method Details
-
of
public static CleanupRepositoryRequest of(java.util.function.Function<CleanupRepositoryRequest.Builder,ObjectBuilder<CleanupRepositoryRequest>> fn) -
masterTimeout
Period to wait for a connection to the master node.API name:
master_timeout -
name
public final java.lang.String name()Required - Snapshot repository to clean up.API name:
repository -
timeout
Period to wait for a response.API name:
timeout
-