Class GetClusterSettingsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cluster.GetClusterSettingsRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetClusterSettingsRequest.Builder,GetClusterSettingsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetClusterSettingsRequest
extends RequestBase
implements ToCopyableBuilder<GetClusterSettingsRequest.Builder,GetClusterSettingsRequest>
Returns cluster settings.
-
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 TypeFieldDescriptionEndpoint "cluster.get_settings". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) builder()final TimeThe amount of time to wait for a response from the cluster manager node.booleanfinal BooleanWhether to return settings in the flat form, which can improve readability, especially for heavily nested settings.inthashCode()final BooleanWhentrue, returns default cluster settings from the local node.final TimeDeprecated.static GetClusterSettingsRequestfinal Timetimeout()A duration.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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
public static final Endpoint<GetClusterSettingsRequest,GetClusterSettingsResponse, _ENDPOINTErrorResponse> Endpoint "cluster.get_settings".
-
-
Method Details
-
of
public static GetClusterSettingsRequest of(Function<GetClusterSettingsRequest.Builder, ObjectBuilder<GetClusterSettingsRequest>> fn) -
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 -
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 -
includeDefaults
Whentrue, returns default cluster settings from the local node.API name:
include_defaults -
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 -
timeout
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:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetClusterSettingsRequest.Builder,GetClusterSettingsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-