Class DeleteSnapshotRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.snapshot.DeleteSnapshotRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteSnapshotRequest>
- Enclosing class:
- DeleteSnapshotRequest
public static class DeleteSnapshotRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<DeleteSnapshotRequest>
Builder for
DeleteSnapshotRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DeleteSnapshotRequestbuild()Builds aDeleteSnapshotRequest.DeleteSnapshotRequest.BuildermasterTimeout(Time value)Explicit operation timeout for connection to master nodeDeleteSnapshotRequest.BuildermasterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Explicit operation timeout for connection to master nodeDeleteSnapshotRequest.Builderrepository(java.lang.String value)Required - A repository nameDeleteSnapshotRequest.Buildersnapshot(java.lang.String value)Required - A comma-separated list of snapshot namesMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterTimeout
Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
masterTimeout
public final DeleteSnapshotRequest.Builder masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
repository
Required - A repository nameAPI name:
repository -
snapshot
Required - A comma-separated list of snapshot namesAPI name:
snapshot -
build
Builds aDeleteSnapshotRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteSnapshotRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-