@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListJobsRequest() |
Modifier and Type | Method and Description |
---|---|
ListJobsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return per request.
|
String |
getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
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 |
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).
|
String |
getThingGroupId()
A filter that limits the returned jobs to those for the specified group.
|
String |
getThingGroupName()
A filter that limits the returned jobs to those for the specified group.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per request.
|
void |
setNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setStatus(String status)
An optional filter that lets you search for jobs that have the specified status.
|
void |
setTargetSelection(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 |
setThingGroupId(String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
|
void |
setThingGroupName(String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per request.
|
ListJobsRequest |
withNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
ListJobsRequest |
withNextToken(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(String status)
An optional filter that lets you search for jobs that have the specified status.
|
ListJobsRequest |
withTargetSelection(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(String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
|
ListJobsRequest |
withThingGroupName(String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
|
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 setStatus(String status)
An optional filter that lets you search for jobs that have the specified status.
status
- An optional filter that lets you search for jobs that have the specified status.JobStatus
public String getStatus()
An optional filter that lets you search for jobs that have the specified status.
JobStatus
public ListJobsRequest withStatus(String status)
An optional filter that lets you search for jobs that have the specified status.
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.
status
- An optional filter that lets you search for jobs that have the specified status.JobStatus
public void setTargetSelection(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.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
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. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public 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.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public ListJobsRequest withTargetSelection(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.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
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. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
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.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
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. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public void setMaxResults(Integer maxResults)
The maximum number of results to return per request.
maxResults
- The maximum number of results to return per request.public Integer getMaxResults()
The maximum number of results to return per request.
public ListJobsRequest withMaxResults(Integer maxResults)
The maximum number of results to return per request.
maxResults
- The maximum number of results to return per request.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 String getNextToken()
The token to retrieve the next set of results.
public ListJobsRequest withNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public void setThingGroupName(String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
thingGroupName
- A filter that limits the returned jobs to those for the specified group.public String getThingGroupName()
A filter that limits the returned jobs to those for the specified group.
public ListJobsRequest withThingGroupName(String thingGroupName)
A filter that limits the returned jobs to those for the specified group.
thingGroupName
- A filter that limits the returned jobs to those for the specified group.public void setThingGroupId(String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
thingGroupId
- A filter that limits the returned jobs to those for the specified group.public String getThingGroupId()
A filter that limits the returned jobs to those for the specified group.
public ListJobsRequest withThingGroupId(String thingGroupId)
A filter that limits the returned jobs to those for the specified group.
thingGroupId
- A filter that limits the returned jobs to those for the specified group.public void setNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services 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 only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services 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 only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public String getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services 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 only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
When you specify a value for this parameter, Amazon Web Services 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 only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public ListJobsRequest withNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services 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 only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services 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 only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public String toString()
toString
in class Object
Object.toString()
public ListJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()