public class ListJobExecutionsForThingRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the job executions for the specified thing.
Constructor and Description |
---|
ListJobExecutionsForThingRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of results to be returned per request.
|
java.lang.String |
getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
java.lang.String |
getNextToken()
The token to retrieve the next set of results.
|
java.lang.String |
getStatus()
An optional filter that lets you search for jobs that have the specified
status.
|
java.lang.String |
getThingName()
The thing name.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to be returned per request.
|
void |
setNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
void |
setNextToken(java.lang.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(java.lang.String status)
An optional filter that lets you search for jobs that have the specified
status.
|
void |
setThingName(java.lang.String thingName)
The thing name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListJobExecutionsForThingRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to be returned per request.
|
ListJobExecutionsForThingRequest |
withNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
ListJobExecutionsForThingRequest |
withNextToken(java.lang.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(java.lang.String status)
An optional filter that lets you search for jobs that have the specified
status.
|
ListJobExecutionsForThingRequest |
withThingName(java.lang.String thingName)
The thing name.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getThingName()
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The thing name.
public void setThingName(java.lang.String thingName)
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName
- The thing name.
public ListJobExecutionsForThingRequest withThingName(java.lang.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 java.lang.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.
JobExecutionStatus
public void setStatus(java.lang.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.
JobExecutionStatus
public ListJobExecutionsForThingRequest withStatus(java.lang.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.
JobExecutionStatus
public 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.
JobExecutionStatus
public 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.
JobExecutionStatus
public java.lang.String getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
public void setNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
public ListJobExecutionsForThingRequest withNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getNextToken()
The token to retrieve the next set of results.
The token to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.
public ListJobExecutionsForThingRequest withNextToken(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.