public IndicesAliasesRequest timeout(String timeout) {
return timeout(TimeValue.parseTimeValue(timeout, TimeValue.timeValueSeconds(10)));
}
@Override public ActionRequestValidationException validate() {
ActionRequestValidationException validationException = null;
if (aliasActions.isEmpty()) {
validationException = addValidationError("Must specify at least one alias action", validationException);
}
return validationException;
}