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.String
ALLOW_NO_MATCH
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description GetTransformRequest(java.lang.String... ids)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Boolean
getAllowNoMatch()
static GetTransformRequest
getAllTransformRequest()
Helper method to create a request that will get ALL Transformsjava.util.List<java.lang.String>
getId()
PageParams
getPageParams()
int
hashCode()
void
setAllowNoMatch(java.lang.Boolean allowNoMatch)
void
setPageParams(PageParams pageParams)
java.util.Optional<ValidationException>
validate()
Perform validation.
-
-
-
Field Detail
-
ALLOW_NO_MATCH
public static final java.lang.String ALLOW_NO_MATCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAllTransformRequest
public static GetTransformRequest getAllTransformRequest()
Helper method to create a request that will get ALL Transforms- Returns:
- new
GetTransformRequest
object for the id "_all"
-
getId
public java.util.List<java.lang.String> getId()
-
getPageParams
public PageParams getPageParams()
-
setPageParams
public void setPageParams(PageParams pageParams)
-
getAllowNoMatch
public java.lang.Boolean getAllowNoMatch()
-
setAllowNoMatch
public void setAllowNoMatch(java.lang.Boolean allowNoMatch)
-
validate
public java.util.Optional<ValidationException> validate()
Description copied from interface:Validatable
Perform 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. AValidationException
that is not null is assumed to contain validation errors and will be thrown.- Specified by:
validate
in interfaceValidatable
- Returns:
- An
Optional
ValidationException
that contains a list of validation errors.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-