Class StateRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cluster.StateRequest
- All Implemented Interfaces:
ToCopyableBuilder<StateRequest.Builder,StateRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class StateRequest
extends RequestBase
implements ToCopyableBuilder<StateRequest.Builder,StateRequest>
Returns comprehensive information about the state of the cluster.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<StateRequest, StateResponse, ErrorResponse> Endpoint "cluster.state". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanWhether to ignore a wildcard index expression that resolves into no concrete indexes.protected voidapplyQueryParameters(Map<String, String> params) static StateRequest.Builderbuilder()final TimeThe amount of time to wait for a response from the cluster manager node.booleanfinal List<ExpandWildcard> Specifies the type of index that wildcard expressions can match.final BooleanWhether to return settings in the flat form, which can improve readability, especially for heavily nested settings.inthashCode()final BooleanWhether the specified concrete indexes should be ignored when unavailable (missing or closed).index()A comma-separated list of data streams, indexes, and aliases used to limit the request.final Booleanlocal()Whether to return information from the local node only instead of from the cluster manager node.final TimeDeprecated.final List<ClusterStateMetric> metric()Limits the information returned to only the specified metric groups.static StateRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final LongWait for the metadata version to be equal or greater than the specified metadata version.final TimeThe maximum time to wait forwait_for_metadata_versionbefore timing out.Methods 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 "cluster.state".
-
-
Method Details
-
of
-
allowNoIndices
Whether to ignore a wildcard index expression that resolves into no concrete indexes. This includes the_allstring or when no indexes have been specified.API name:
allow_no_indices -
clusterManagerTimeout
The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.API name:
cluster_manager_timeout -
expandWildcards
Specifies the type of index that wildcard expressions can match. Supports comma-separated values.API name:
expand_wildcards -
flatSettings
Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings. For example, the flat form of"cluster": { "max_shards_per_node": 500 }is"cluster.max_shards_per_node": "500".API name:
flat_settings -
index
A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use*or_all.API name:
index -
local
Whether to return information from the local node only instead of from the cluster manager node.API name:
local -
masterTimeout
Deprecated.A duration. Units can benanos,micros,ms(milliseconds),s(seconds),m(minutes),h(hours) andd(days). Also accepts0without a unit and-1to indicate an unspecified value.API name:
master_timeout -
metric
Limits the information returned to only the specified metric groups.API name:
metric -
waitForMetadataVersion
Wait for the metadata version to be equal or greater than the specified metadata version.API name:
wait_for_metadata_version -
waitForTimeout
The maximum time to wait forwait_for_metadata_versionbefore timing out.API name:
wait_for_timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StateRequest.Builder,StateRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-