Class SnapshotsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.cat.CatRequestBase.AbstractBuilder<SnapshotsRequest.Builder>
co.elastic.clients.elasticsearch.cat.SnapshotsRequest.Builder
- All Implemented Interfaces:
WithJson<SnapshotsRequest.Builder>,ObjectBuilder<SnapshotsRequest>
- Enclosing class:
- SnapshotsRequest
public static class SnapshotsRequest.Builder
extends CatRequestBase.AbstractBuilder<SnapshotsRequest.Builder>
implements ObjectBuilder<SnapshotsRequest>
Builder for
SnapshotsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSnapshotsRequest.final SnapshotsRequest.BuilderignoreUnavailable(Boolean value) Set to true to ignore unavailable snapshotsfinal SnapshotsRequest.Builderrepository(String value, String... values) Name of repository from which to fetch the snapshot informationfinal SnapshotsRequest.Builderrepository(List<String> list) Name of repository from which to fetch the snapshot informationprotected SnapshotsRequest.Builderself()Methods 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
-
repository
Name of repository from which to fetch the snapshot informationAPI name:
repositoryAdds all elements of
listtorepository. -
repository
Name of repository from which to fetch the snapshot informationAPI name:
repositoryAdds one or more values to
repository. -
self
- Specified by:
selfin classCatRequestBase.AbstractBuilder<SnapshotsRequest.Builder>
-
build
Builds aSnapshotsRequest.- Specified by:
buildin interfaceObjectBuilder<SnapshotsRequest>- Throws:
NullPointerException- if some of the required fields are null.