public class GetIndexTemplatesRequest extends MasterNodeReadRequest<GetIndexTemplatesRequest>
TransportRequest.Empty
local
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor and Description |
---|
GetIndexTemplatesRequest() |
GetIndexTemplatesRequest(java.lang.String... names) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
names()
The names of the index templates.
|
GetIndexTemplatesRequest |
names(java.lang.String... names)
Sets the names of the index templates.
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
local, local
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public GetIndexTemplatesRequest()
public GetIndexTemplatesRequest(java.lang.String... names)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public GetIndexTemplatesRequest names(java.lang.String... names)
public java.lang.String[] names()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeReadRequest<GetIndexTemplatesRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class MasterNodeReadRequest<GetIndexTemplatesRequest>
java.io.IOException