Class GetDataFrameAnalyticsRequest

All Implemented Interfaces:

public class GetDataFrameAnalyticsRequest
extends java.lang.Object
implements Validatable
  • Field Details

  • Constructor Details

    • GetDataFrameAnalyticsRequest

      public GetDataFrameAnalyticsRequest​(java.lang.String... ids)
  • Method Details

    • getAllDataFrameAnalyticsRequest

      public static GetDataFrameAnalyticsRequest getAllDataFrameAnalyticsRequest()
      Helper method to create a request that will get ALL Data Frame Analytics
      new GetDataFrameAnalyticsRequest object for the id "_all"
    • getIds

      public java.util.List<java.lang.String> getIds()
    • getAllowNoMatch

      public java.lang.Boolean getAllowNoMatch()
    • setExcludeGenerated

      public void setExcludeGenerated​(boolean excludeGenerated)
      Setting this flag to `true` removes certain fields from the configuration on retrieval. This is useful when getting the configuration and wanting to put it in another cluster. Default value is false.
      excludeGenerated - Boolean value indicating if certain fields should be removed
    • getExcludeGenerated

      public java.lang.Boolean getExcludeGenerated()
    • setAllowNoMatch

      public GetDataFrameAnalyticsRequest setAllowNoMatch​(boolean allowNoMatch)
      Whether to ignore if a wildcard expression matches no data frame analytics.
      allowNoMatch - If this is false, then an error is returned when a wildcard (or _all) does not match any data frame analytics
    • getPageParams

      public PageParams getPageParams()
    • setPageParams

      public GetDataFrameAnalyticsRequest setPageParams​(@Nullable PageParams pageParams)
    • 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. A ValidationException that is not null is assumed to contain validation errors and will be thrown.
      Specified by:
      validate in interface Validatable
      An Optional ValidationException that contains a list of validation errors.
    • equals

      public boolean equals​(java.lang.Object o)
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      hashCode in class java.lang.Object