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