Class GetTemplateRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.GetTemplateRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetTemplateRequest.Builder,GetTemplateRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetTemplateRequest
extends RequestBase
implements ToCopyableBuilder<GetTemplateRequest.Builder,GetTemplateRequest>
Returns an index template.
-
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<GetTemplateRequest, GetTemplateResponse, ErrorResponse> Endpoint "indices.get_template". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static GetTemplateRequest.Builderbuilder()final TimeOperation timeout for connection to cluster-manager node.booleanfinal BooleanIftrue, returns settings in flat format.inthashCode()final Booleanlocal()Iftrue, the request retrieves information from the local node only.final TimeDeprecated.name()A comma-separated list of index template names used to limit the request.static GetTemplateRequestCreate 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
Endpoint "indices.get_template".
-
-
Method Details
-
of
public static GetTemplateRequest of(Function<GetTemplateRequest.Builder, ObjectBuilder<GetTemplateRequest>> fn) -
clusterManagerTimeout
Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
flatSettings
Iftrue, returns settings in flat format.API name:
flat_settings -
local
Iftrue, the request retrieves information from the local node only.API name:
local -
masterTimeout
Deprecated.Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
name
A comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. To return all index templates, omit this parameter or use a value of_allor*.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<GetTemplateRequest.Builder,GetTemplateRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-