Class DeleteTemplateRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.DeleteTemplateRequest
- All Implemented Interfaces:
ToCopyableBuilder<DeleteTemplateRequest.Builder,DeleteTemplateRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class DeleteTemplateRequest
extends RequestBase
implements ToCopyableBuilder<DeleteTemplateRequest.Builder,DeleteTemplateRequest>
Deletes 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<DeleteTemplateRequest, DeleteTemplateResponse, ErrorResponse> Endpoint "indices.delete_template". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) builder()final TimeOperation timeout for connection to cluster-manager node.booleaninthashCode()final TimeDeprecated.final Stringname()Required - The name of the legacy index template to delete.static DeleteTemplateRequestfinal Timetimeout()Period to wait for a response.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
Endpoint "indices.delete_template".
-
-
Method Details
-
of
public static DeleteTemplateRequest of(Function<DeleteTemplateRequest.Builder, ObjectBuilder<DeleteTemplateRequest>> fn) -
clusterManagerTimeout
Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
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
Required - The name of the legacy index template to delete. Wildcard (*) expressions are supported.API name:
name -
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 -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteTemplateRequest.Builder,DeleteTemplateRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-