Class DeleteSnapshotRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.DeleteSnapshotRequest
Delete snapshots.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeleteSnapshotRequest,
DeleteSnapshotResponse, ErrorResponse> Endpoint "snapshot.delete
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for the master node.static DeleteSnapshotRequest
final String
Required - The name of the repository to delete a snapshot from.final String
snapshot()
Required - A comma-separated list of snapshot names to delete.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "snapshot.delete
".
-
-
Method Details
-
of
public static DeleteSnapshotRequest of(Function<DeleteSnapshotRequest.Builder, ObjectBuilder<DeleteSnapshotRequest>> fn) -
masterTimeout
The period to wait for the master node. If the master node is not available before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-
repository
Required - The name of the repository to delete a snapshot from.API name:
repository
-
snapshot
Required - A comma-separated list of snapshot names to delete. It also accepts wildcards (*
).API name:
snapshot
-