Class PollForJobsRequest

    • Constructor Detail

      • PollForJobsRequest

        public PollForJobsRequest()
    • Method Detail

      • setActionTypeId

        public void setActionTypeId​(ActionTypeId actionTypeId)
        Parameters:
        actionTypeId -
      • getActionTypeId

        public ActionTypeId getActionTypeId()
        Returns:
      • withActionTypeId

        public PollForJobsRequest withActionTypeId​(ActionTypeId actionTypeId)
        Parameters:
        actionTypeId -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxBatchSize

        public void setMaxBatchSize​(Integer maxBatchSize)

        The maximum number of jobs to return in a poll for jobs call.

        Parameters:
        maxBatchSize - The maximum number of jobs to return in a poll for jobs call.
      • getMaxBatchSize

        public Integer getMaxBatchSize()

        The maximum number of jobs to return in a poll for jobs call.

        Returns:
        The maximum number of jobs to return in a poll for jobs call.
      • withMaxBatchSize

        public PollForJobsRequest withMaxBatchSize​(Integer maxBatchSize)

        The maximum number of jobs to return in a poll for jobs call.

        Parameters:
        maxBatchSize - The maximum number of jobs to return in a poll for jobs call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getQueryParam

        public Map<String,​String> getQueryParam()

        A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value will be returned.

        Returns:
        A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value will be returned.
      • setQueryParam

        public void setQueryParam​(Map<String,​String> queryParam)

        A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value will be returned.

        Parameters:
        queryParam - A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value will be returned.
      • withQueryParam

        public PollForJobsRequest withQueryParam​(Map<String,​String> queryParam)

        A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value will be returned.

        Parameters:
        queryParam - A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value will be returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearQueryParamEntries

        public PollForJobsRequest clearQueryParamEntries()
        Removes all the entries added into QueryParam. <p> Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object