Package org.elasticsearch.client.ml
Class GetTrainedModelsStatsRequest
java.lang.Object
org.elasticsearch.client.ml.GetTrainedModelsStatsRequest
- All Implemented Interfaces:
Validatable
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static GetTrainedModelsStatsRequest
Helper method to create a request that will get ALL TrainedModelStatsgetIds()
int
hashCode()
setAllowNoMatch
(boolean allowNoMatch) Whether to ignore if a wildcard expression matches no trained models.setPageParams
(PageParams pageParams) validate()
Perform validation.
-
Field Details
-
ALLOW_NO_MATCH
- See Also:
-
-
Constructor Details
-
GetTrainedModelsStatsRequest
-
-
Method Details
-
getAllTrainedModelStatsRequest
Helper method to create a request that will get ALL TrainedModelStats- Returns:
- new
GetTrainedModelsStatsRequest
object for the id "_all"
-
getIds
-
getAllowNoMatch
-
setAllowNoMatch
Whether to ignore if a wildcard expression matches no trained models.- Parameters:
allowNoMatch
- If this isfalse
, then an error is returned when a wildcard (or_all
) does not match any trained models
-
getPageParams
-
setPageParams
-
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.
-
equals
-
hashCode
public int hashCode()
-