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 class
CleanupRepositoryRequest.Builder
Builder 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>
_ENDPOINT
Endpoint "snapshot.cleanup_repository
". -
Method Summary
Modifier and Type Method Description Time
masterTimeout()
Period to wait for a connection to the master node.java.lang.String
name()
Required - Snapshot repository to clean up.static CleanupRepositoryRequest
of(java.util.function.Function<CleanupRepositoryRequest.Builder,ObjectBuilder<CleanupRepositoryRequest>> fn)
Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods 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
-