Class StopDatafeedRequest

    • Constructor Detail

      • StopDatafeedRequest

        public StopDatafeedRequest​(java.lang.String... datafeedIds)
        Close the specified Datafeeds via their unique datafeedIds
        Parameters:
        datafeedIds - must be non-null and non-empty and each datafeedId must be non-null
    • Method Detail

      • getDatafeedIds

        public java.util.List<java.lang.String> getDatafeedIds()
        All the datafeedIds to be stopped
      • setTimeout

        public void setTimeout​(TimeValue timeout)
        How long to wait for the stop request to complete before timing out.
        Parameters:
        timeout - Default value: 30 minutes
      • getForce

        public java.lang.Boolean getForce()
      • setForce

        public void setForce​(boolean force)
        Should the stopping be forced. Use to forcefully stop a datafeed
        Parameters:
        force - When true forcefully stop the datafeed. Defaults to false
      • getAllowNoDatafeeds

        public java.lang.Boolean getAllowNoDatafeeds()
      • setAllowNoDatafeeds

        public void setAllowNoDatafeeds​(boolean allowNoDatafeeds)
        Whether to ignore if a wildcard expression matches no datafeeds. This includes _all string.
        Parameters:
        allowNoDatafeeds - When true ignore if wildcard or _all matches no datafeeds. Defaults to true
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object