Class GetTransformRequest
- java.lang.Object
-
- org.elasticsearch.client.transform.GetTransformRequest
-
- All Implemented Interfaces:
Validatable
public class GetTransformRequest extends Object implements Validatable
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOW_NO_MATCH-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description GetTransformRequest(String... ids)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BooleangetAllowNoMatch()static GetTransformRequestgetAllTransformRequest()Helper method to create a request that will get ALL TransformsList<String>getId()PageParamsgetPageParams()inthashCode()voidsetAllowNoMatch(Boolean allowNoMatch)voidsetPageParams(PageParams pageParams)Optional<ValidationException>validate()Perform validation.
-
-
-
Field Detail
-
ALLOW_NO_MATCH
public static final String ALLOW_NO_MATCH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetTransformRequest
public GetTransformRequest(String... ids)
-
-
Method Detail
-
getAllTransformRequest
public static GetTransformRequest getAllTransformRequest()
Helper method to create a request that will get ALL Transforms- Returns:
- new
GetTransformRequestobject for the id "_all"
-
getPageParams
public PageParams getPageParams()
-
setPageParams
public void setPageParams(PageParams pageParams)
-
getAllowNoMatch
public Boolean getAllowNoMatch()
-
setAllowNoMatch
public void setAllowNoMatch(Boolean allowNoMatch)
-
validate
public Optional<ValidationException> validate()
Description copied from interface:ValidatablePerform validation. This method does not have to be overridden in the event that no validation needs to be done, or the validation was done during object construction time. AValidationExceptionthat is not null is assumed to contain validation errors and will be thrown.- Specified by:
validatein interfaceValidatable- Returns:
- An
OptionalValidationExceptionthat contains a list of validation errors.
-
-