public class ListJobExecutionsForThingRequest extends AmazonWebServiceRequest implements Serializable
Lists the job executions for the specified thing.
| Constructor and Description |
|---|
ListJobExecutionsForThingRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to be returned per request.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
String |
getStatus()
An optional filter that lets you search for jobs that have the specified
status.
|
String |
getThingName()
The thing name.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to be returned per request.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setStatus(JobExecutionStatus status)
An optional filter that lets you search for jobs that have the specified
status.
|
void |
setStatus(String status)
An optional filter that lets you search for jobs that have the specified
status.
|
void |
setThingName(String thingName)
The thing name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListJobExecutionsForThingRequest |
withMaxResults(Integer maxResults)
The maximum number of results to be returned per request.
|
ListJobExecutionsForThingRequest |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
ListJobExecutionsForThingRequest |
withStatus(JobExecutionStatus status)
An optional filter that lets you search for jobs that have the specified
status.
|
ListJobExecutionsForThingRequest |
withStatus(String status)
An optional filter that lets you search for jobs that have the specified
status.
|
ListJobExecutionsForThingRequest |
withThingName(String thingName)
The thing name.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getThingName()
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The thing name.
public void setThingName(String thingName)
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The thing name.
public ListJobExecutionsForThingRequest withThingName(String thingName)
The thing name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The thing name.
public String getStatus()
An optional filter that lets you search for jobs that have the specified status.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
An optional filter that lets you search for jobs that have the specified status.
JobExecutionStatuspublic void setStatus(String status)
An optional filter that lets you search for jobs that have the specified status.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status - An optional filter that lets you search for jobs that have the specified status.
JobExecutionStatuspublic ListJobExecutionsForThingRequest withStatus(String status)
An optional filter that lets you search for jobs that have the specified status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status - An optional filter that lets you search for jobs that have the specified status.
JobExecutionStatuspublic void setStatus(JobExecutionStatus status)
An optional filter that lets you search for jobs that have the specified status.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status - An optional filter that lets you search for jobs that have the specified status.
JobExecutionStatuspublic ListJobExecutionsForThingRequest withStatus(JobExecutionStatus status)
An optional filter that lets you search for jobs that have the specified status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status - An optional filter that lets you search for jobs that have the specified status.
JobExecutionStatuspublic Integer getMaxResults()
The maximum number of results to be returned per request.
Constraints:
Range: 1 - 250
The maximum number of results to be returned per request.
public void setMaxResults(Integer maxResults)
The maximum number of results to be returned per request.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to be returned per request.
public ListJobExecutionsForThingRequest withMaxResults(Integer maxResults)
The maximum number of results to be returned per request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to be returned per request.
public String getNextToken()
The token to retrieve the next set of results.
The token to retrieve the next set of results.
public void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken - The token to retrieve the next set of results.
public ListJobExecutionsForThingRequest withNextToken(String nextToken)
The token to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to retrieve the next set of results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.