Class GetTransformRequest
java.lang.Object
org.elasticsearch.client.transform.GetTransformRequest
- All Implemented Interfaces:
Validatable
public class GetTransformRequest extends java.lang.Object implements Validatable
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALLOW_NO_MATCHstatic java.lang.StringEXCLUDE_GENERATED -
Constructor Summary
Constructors Constructor Description GetTransformRequest(java.lang.String... ids) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.BooleangetAllowNoMatch()static GetTransformRequestgetAllTransformRequest()Helper method to create a request that will get ALL Transformsjava.lang.BooleangetExcludeGenerated()java.util.List<java.lang.String>getId()PageParamsgetPageParams()inthashCode()voidsetAllowNoMatch(java.lang.Boolean allowNoMatch)voidsetExcludeGenerated(boolean excludeGenerated)voidsetPageParams(PageParams pageParams)java.util.Optional<ValidationException>validate()Perform validation.
-
Field Details
-
EXCLUDE_GENERATED
public static final java.lang.String EXCLUDE_GENERATED- See Also:
- Constant Field Values
-
ALLOW_NO_MATCH
public static final java.lang.String ALLOW_NO_MATCH- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetTransformRequest
public GetTransformRequest(java.lang.String... ids)
-
-
Method Details
-
getAllTransformRequest
Helper method to create a request that will get ALL Transforms- Returns:
- new
GetTransformRequestobject for the id "_all"
-
getId
public java.util.List<java.lang.String> getId() -
getPageParams
-
setPageParams
-
getAllowNoMatch
public java.lang.Boolean getAllowNoMatch() -
setAllowNoMatch
public void setAllowNoMatch(java.lang.Boolean allowNoMatch) -
setExcludeGenerated
public void setExcludeGenerated(boolean excludeGenerated) -
getExcludeGenerated
public java.lang.Boolean getExcludeGenerated() -
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.
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-