@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PollForJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a PollForJobs
action.
NOOP
Constructor and Description |
---|
PollForJobsRequest() |
Modifier and Type | Method and Description |
---|---|
PollForJobsRequest |
addQueryParamEntry(String key,
String value)
Add a single QueryParam entry
|
PollForJobsRequest |
clearQueryParamEntries()
Removes all the entries added into QueryParam.
|
PollForJobsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ActionTypeId |
getActionTypeId()
Represents information about an action type.
|
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)
Represents information about an action type.
|
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.
|
PollForJobsRequest |
withActionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setActionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
actionTypeId
- Represents information about an action type.public ActionTypeId getActionTypeId()
Represents information about an action type.
public PollForJobsRequest withActionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
actionTypeId
- Represents information about an action type.public void setMaxBatchSize(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 Integer getMaxBatchSize()
The maximum number of jobs to return in a poll for jobs call.
public PollForJobsRequest withMaxBatchSize(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 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 are returned.
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 are 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 are returned.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 are 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 are returned.public PollForJobsRequest addQueryParamEntry(String key, String value)
public PollForJobsRequest clearQueryParamEntries()
public String toString()
toString
in class Object
Object.toString()
public PollForJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()