public class PollForJobsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a poll for jobs action.
Modifier and Type | Field and Description |
---|---|
private ActionTypeId |
actionTypeId |
private java.lang.Integer |
maxBatchSize
The maximum number of jobs to return in a poll for jobs call.
|
private java.util.Map<java.lang.String,java.lang.String> |
queryParam
A map of property names and values.
|
NOOP
Constructor and Description |
---|
PollForJobsRequest() |
Modifier and Type | Method and Description |
---|---|
PollForJobsRequest |
addQueryParamEntry(java.lang.String key,
java.lang.String value) |
PollForJobsRequest |
clearQueryParamEntries()
Removes all the entries added into QueryParam.
|
PollForJobsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
ActionTypeId |
getActionTypeId() |
java.lang.Integer |
getMaxBatchSize()
The maximum number of jobs to return in a poll for jobs call.
|
java.util.Map<java.lang.String,java.lang.String> |
getQueryParam()
A map of property names and values.
|
int |
hashCode() |
void |
setActionTypeId(ActionTypeId actionTypeId) |
void |
setMaxBatchSize(java.lang.Integer maxBatchSize)
The maximum number of jobs to return in a poll for jobs call.
|
void |
setQueryParam(java.util.Map<java.lang.String,java.lang.String> queryParam)
A map of property names and values.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PollForJobsRequest |
withActionTypeId(ActionTypeId actionTypeId) |
PollForJobsRequest |
withMaxBatchSize(java.lang.Integer maxBatchSize)
The maximum number of jobs to return in a poll for jobs call.
|
PollForJobsRequest |
withQueryParam(java.util.Map<java.lang.String,java.lang.String> queryParam)
A map of property names and values.
|
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
private ActionTypeId actionTypeId
private java.lang.Integer maxBatchSize
The maximum number of jobs to return in a poll for jobs call.
private java.util.Map<java.lang.String,java.lang.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.
public void setActionTypeId(ActionTypeId actionTypeId)
actionTypeId
- public ActionTypeId getActionTypeId()
public PollForJobsRequest withActionTypeId(ActionTypeId actionTypeId)
actionTypeId
- public void setMaxBatchSize(java.lang.Integer maxBatchSize)
The maximum number of jobs to return in a poll for jobs call.
maxBatchSize
- The maximum number of jobs to return in a poll for jobs call.public java.lang.Integer getMaxBatchSize()
The maximum number of jobs to return in a poll for jobs call.
public PollForJobsRequest withMaxBatchSize(java.lang.Integer maxBatchSize)
The maximum number of jobs to return in a poll for jobs call.
maxBatchSize
- The maximum number of jobs to return in a poll for jobs call.public java.util.Map<java.lang.String,java.lang.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.
public void setQueryParam(java.util.Map<java.lang.String,java.lang.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.
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.public PollForJobsRequest withQueryParam(java.util.Map<java.lang.String,java.lang.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.
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.public PollForJobsRequest addQueryParamEntry(java.lang.String key, java.lang.String value)
public PollForJobsRequest clearQueryParamEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PollForJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()