Class GetComponentTemplateRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cluster.GetComponentTemplateRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetComponentTemplateRequest.Builder,GetComponentTemplateRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetComponentTemplateRequest
extends RequestBase
implements ToCopyableBuilder<GetComponentTemplateRequest.Builder,GetComponentTemplateRequest>
Returns one or more component templates.
-
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_component_template". -
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 Booleanlocal()Whentrue, the request retrieves information from the local node only.final TimeDeprecated.final Stringname()The name of the component template to retrieve.static GetComponentTemplateRequestCreate 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<GetComponentTemplateRequest,GetComponentTemplateResponse, _ENDPOINTErrorResponse> Endpoint "cluster.get_component_template".
-
-
Method Details
-
of
-
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 -
local
Whentrue, the request retrieves information from the local node only. Whenfalse, information is retrieved 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 -
name
The name of the component template to retrieve. Wildcard (*) expressions are supported.API name:
name -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetComponentTemplateRequest.Builder,GetComponentTemplateRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-