Class PollForJobsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.codepipeline.model.PollForJobsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class PollForJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a poll for jobs action.

See Also:
  • Constructor Details

    • PollForJobsRequest

      public PollForJobsRequest()
  • Method Details

    • 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.
    • addQueryParamEntry

      public PollForJobsRequest addQueryParamEntry(String key, String value)
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PollForJobsRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: