Class TemplatesRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.TemplatesRequest
- All Implemented Interfaces:
ToCopyableBuilder<TemplatesRequest.Builder,TemplatesRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class TemplatesRequest
extends CatRequestBase
implements ToCopyableBuilder<TemplatesRequest.Builder,TemplatesRequest>
Lists the names, patterns, order numbers, and version numbers of index templates.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<TemplatesRequest, TemplatesResponse, ErrorResponse> Endpoint "cat.templates". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static TemplatesRequest.Builderbuilder()final TimeThe amount of time allowed to establish a connection to the cluster manager node.booleaninthashCode()final TimeDeprecated.final Stringname()The name of the template to return.static TemplatesRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, sortMethods 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 "cat.templates".
-
-
Method Details
-
of
public static TemplatesRequest of(Function<TemplatesRequest.Builder, ObjectBuilder<TemplatesRequest>> fn) -
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
name
The name of the template to return. Accepts wildcard expressions. If omitted, all templates are returned.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<TemplatesRequest.Builder,TemplatesRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-