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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PollForJobsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PollForJobsRequest
addQueryParamEntry(String key, String value)
PollForJobsRequest
clearQueryParamEntries()
Removes all the entries added into QueryParam.PollForJobsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
ActionTypeId
getActionTypeId()
Integer
getMaxBatchSize()
The maximum number of jobs to return in a poll for jobs call.Map<String,String>
getQueryParam()
A map of property names and values.int
hashCode()
void
setActionTypeId(ActionTypeId actionTypeId)
void
setMaxBatchSize(Integer maxBatchSize)
The maximum number of jobs to return in a poll for jobs call.void
setQueryParam(Map<String,String> queryParam)
A map of property names and values.String
toString()
Returns a string representation of this object; useful for testing and debugging.PollForJobsRequest
withActionTypeId(ActionTypeId actionTypeId)
PollForJobsRequest
withMaxBatchSize(Integer maxBatchSize)
The maximum number of jobs to return in a poll for jobs call.PollForJobsRequest
withQueryParam(Map<String,String> queryParam)
A map of property names and values.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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.
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-