Class GetClusterSettingsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.GetClusterSettingsRequest
Get cluster-wide settings. By default, it returns only settings that have
been explicitly defined.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "cluster.get_settings
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Iftrue
, returns settings in flat format.final Boolean
Iftrue
, also returns default values for all other cluster settings, reflecting the values in theelasticsearch.yml
file of one of the nodes in the cluster.final Time
Period to wait for a connection to the master node.static GetClusterSettingsRequest
final Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
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) -
flatSettings
Iftrue
, returns settings in flat format.API name:
flat_settings
-
includeDefaults
Iftrue
, also returns default values for all other cluster settings, reflecting the values in theelasticsearch.yml
file of one of the nodes in the cluster. If the nodes in your cluster do not all have the same values in theirelasticsearch.yml
config files then the values returned by this API may vary from invocation to invocation and may not reflect the values that Elasticsearch uses in all situations. Use theGET _nodes/settings
API to fetch the settings for each individual node in your cluster.API name:
include_defaults
-
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-