Package org.opensearch.client.indices
Class GetComposableIndexTemplateRequest
- java.lang.Object
-
- org.opensearch.client.indices.GetComposableIndexTemplateRequest
-
- All Implemented Interfaces:
Validatable
public class GetComposableIndexTemplateRequest extends java.lang.Object implements Validatable
A request to read the content of index templates
-
-
Field Summary
-
Fields inherited from interface org.opensearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description GetComposableIndexTemplateRequest(java.lang.String name)Create a request to read the content of index template.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensearch.common.unit.TimeValuegetMasterNodeTimeout()booleanisLocal()java.lang.Stringname()voidsetLocal(boolean local)voidsetMasterNodeTimeout(java.lang.String masterNodeTimeout)voidsetMasterNodeTimeout(org.opensearch.common.unit.TimeValue masterNodeTimeout)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.Validatable
validate
-
-
-
-
Method Detail
-
name
public java.lang.String name()
- Returns:
- the name of index template this request is requesting
-
getMasterNodeTimeout
public org.opensearch.common.unit.TimeValue getMasterNodeTimeout()
- Returns:
- the timeout for waiting for the master node to respond
-
setMasterNodeTimeout
public void setMasterNodeTimeout(@Nullable org.opensearch.common.unit.TimeValue masterNodeTimeout)
-
setMasterNodeTimeout
public void setMasterNodeTimeout(java.lang.String masterNodeTimeout)
-
isLocal
public boolean isLocal()
- Returns:
- true if this request is to read from the local cluster state, rather than the master node - false otherwise
-
setLocal
public void setLocal(boolean local)
-
-