Class SnapshotStatusRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SnapshotStatusRequest.Builder>
co.elastic.clients.elasticsearch.snapshot.SnapshotStatusRequest.Builder
- All Implemented Interfaces:
WithJson<SnapshotStatusRequest.Builder>,ObjectBuilder<SnapshotStatusRequest>
- Enclosing class:
- SnapshotStatusRequest
public static class SnapshotStatusRequest.Builder
extends RequestBase.AbstractBuilder<SnapshotStatusRequest.Builder>
implements ObjectBuilder<SnapshotStatusRequest>
Builder for
SnapshotStatusRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSnapshotStatusRequest.ignoreUnavailable(Boolean value) Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrownmasterTimeout(Time value) Explicit operation timeout for connection to master nodeExplicit operation timeout for connection to master noderepository(String value) A repository nameprotected SnapshotStatusRequest.Builderself()A comma-separated list of snapshot namesA comma-separated list of snapshot namesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterTimeout
Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
masterTimeout
public final SnapshotStatusRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
repository
A repository nameAPI name:
repository -
snapshot
A comma-separated list of snapshot namesAPI name:
snapshotAdds all elements of
listtosnapshot. -
snapshot
A comma-separated list of snapshot namesAPI name:
snapshotAdds one or more values to
snapshot. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<SnapshotStatusRequest.Builder>
-
build
Builds aSnapshotStatusRequest.- Specified by:
buildin interfaceObjectBuilder<SnapshotStatusRequest>- Throws:
NullPointerException- if some of the required fields are null.