public class ListJobsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists jobs.
Constructor and Description |
---|
ListJobsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of results to return 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 |
getTargetSelection()
Specifies whether the job will continue to run (CONTINUOUS), or will be
complete after all those things specified as targets have completed the
job (SNAPSHOT).
|
java.lang.String |
getThingGroupId()
A filter that limits the returned jobs to those for the specified group.
|
java.lang.String |
getThingGroupName()
A filter that limits the returned jobs to those for the specified group.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return 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(JobStatus 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 |
setTargetSelection(java.lang.String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be
complete after all those things specified as targets have completed the
job (SNAPSHOT).
|
void |
setTargetSelection(TargetSelection targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be
complete after all those things specified as targets have completed the
job (SNAPSHOT).
|
void |
setThingGroupId(java.lang.String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
|
void |
setThingGroupName(java.lang.String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListJobsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per request.
|
ListJobsRequest |
withNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
ListJobsRequest |
withNextToken(java.lang.String nextToken)
The token to retrieve the next set of results.
|
ListJobsRequest |
withStatus(JobStatus status)
An optional filter that lets you search for jobs that have the specified
status.
|
ListJobsRequest |
withStatus(java.lang.String status)
An optional filter that lets you search for jobs that have the specified
status.
|
ListJobsRequest |
withTargetSelection(java.lang.String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be
complete after all those things specified as targets have completed the
job (SNAPSHOT).
|
ListJobsRequest |
withTargetSelection(TargetSelection targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be
complete after all those things specified as targets have completed the
job (SNAPSHOT).
|
ListJobsRequest |
withThingGroupId(java.lang.String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
|
ListJobsRequest |
withThingGroupName(java.lang.String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStatus()
An optional filter that lets you search for jobs that have the specified status.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
An optional filter that lets you search for jobs that have the specified status.
JobStatus
public void setStatus(java.lang.String status)
An optional filter that lets you search for jobs that have the specified status.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
- An optional filter that lets you search for jobs that have the specified status.
JobStatus
public ListJobsRequest 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: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
- An optional filter that lets you search for jobs that have the specified status.
JobStatus
public void setStatus(JobStatus status)
An optional filter that lets you search for jobs that have the specified status.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
- An optional filter that lets you search for jobs that have the specified status.
JobStatus
public ListJobsRequest withStatus(JobStatus 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: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
- An optional filter that lets you search for jobs that have the specified status.
JobStatus
public java.lang.String getTargetSelection()
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public void setTargetSelection(java.lang.String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
targetSelection
- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public ListJobsRequest withTargetSelection(java.lang.String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
targetSelection
- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public void setTargetSelection(TargetSelection targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
targetSelection
- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public ListJobsRequest withTargetSelection(TargetSelection targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
targetSelection
- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public java.lang.Integer getMaxResults()
The maximum number of results to return per request.
Constraints:
Range: 1 - 250
The maximum number of results to return per request.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per request.
Constraints:
Range: 1 - 250
maxResults
- The maximum number of results to return per request.
public ListJobsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return 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 return 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 ListJobsRequest 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 getThingGroupName()
A filter that limits the returned jobs to those for the specified group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
A filter that limits the returned jobs to those for the specified group.
public void setThingGroupName(java.lang.String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingGroupName
- A filter that limits the returned jobs to those for the specified group.
public ListJobsRequest withThingGroupName(java.lang.String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingGroupName
- A filter that limits the returned jobs to those for the specified group.
public java.lang.String getThingGroupId()
A filter that limits the returned jobs to those for the specified group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9\-]+
A filter that limits the returned jobs to those for the specified group.
public void setThingGroupId(java.lang.String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9\-]+
thingGroupId
- A filter that limits the returned jobs to those for the specified group.
public ListJobsRequest withThingGroupId(java.lang.String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9\-]+
thingGroupId
- A filter that limits the returned jobs to those for the specified group.
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 ListJobsRequest 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.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.