Class CleanupRepositoryRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.CleanupRepositoryRequest
public class CleanupRepositoryRequest extends RequestBase
Removes stale data from repository.
- 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()Explicit operation timeout for connection to master nodejava.lang.Stringname()Required - A repository namestatic CleanupRepositoryRequestof(java.util.function.Function<CleanupRepositoryRequest.Builder,ObjectBuilder<CleanupRepositoryRequest>> fn)Timetimeout()Explicit operation timeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
name
public final java.lang.String name()Required - A repository nameAPI name:
repository -
timeout
Explicit operation timeoutAPI name:
timeout
-