Class SnapshotsRequest.Builder
java.lang.Object
org.opensearch.client.opensearch.cat.SnapshotsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<SnapshotsRequest>
- Enclosing class:
- SnapshotsRequest
public static class SnapshotsRequest.Builder extends java.lang.Object implements ObjectBuilder<SnapshotsRequest>
Builder for
SnapshotsRequest.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SnapshotsRequest.BuilderaddRepository(java.lang.String value)Add a value torepository(List), creating the list if needed.SnapshotsRequestbuild()Builds aSnapshotsRequest.SnapshotsRequest.BuilderignoreUnavailable(java.lang.Boolean value)API name:ignore_unavailableSnapshotsRequest.Builderrepository(java.lang.String... value)API name:repositorySnapshotsRequest.Builderrepository(java.util.List<java.lang.String> value)API name:repository
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repository
API name:repository -
repository
API name:repository -
addRepository
Add a value torepository(List), creating the list if needed. -
ignoreUnavailable
API name:ignore_unavailable -
build
Builds aSnapshotsRequest.- Specified by:
buildin interfaceObjectBuilder<SnapshotsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-