Class SnapshotsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.SnapshotsRequest
- All Implemented Interfaces:
ToCopyableBuilder<SnapshotsRequest.Builder,SnapshotsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class SnapshotsRequest
extends CatRequestBase
implements ToCopyableBuilder<SnapshotsRequest.Builder,SnapshotsRequest>
Lists all of the snapshots stored in a specific repository.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<SnapshotsRequest, SnapshotsResponse, ErrorResponse> Endpoint "cat.snapshots". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static SnapshotsRequest.Builderbuilder()final TimeThe amount of time allowed to establish a connection to the cluster manager node.booleaninthashCode()final BooleanWhentrue, the response does not include information from unavailable snapshots.final TimeDeprecated.static SnapshotsRequestA comma-separated list of snapshot repositories used to limit the request.final TimeUnittime()Specifies the time units, for example,5dor7h.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, sortMethods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "cat.snapshots".
-
-
Method Details
-
of
public static SnapshotsRequest of(Function<SnapshotsRequest.Builder, ObjectBuilder<SnapshotsRequest>> fn) -
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
repository
A comma-separated list of snapshot repositories used to limit the request. Accepts wildcard expressions._allreturns all repositories. If any repository fails during the request, OpenSearch returns an error.API name:
repository -
time
Specifies the time units, for example,5dor7h. For more information, see Supported units.API name:
time -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotsRequest.Builder,SnapshotsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-