@Generated(value="software.amazon.awssdk:codegen") public final class ListJobsRequest extends IotRequest implements ToCopyableBuilder<ListJobsRequest.Builder,ListJobsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListJobsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListJobsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return per request.
|
String |
namespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
String |
nextToken()
The token to retrieve the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListJobsRequest.Builder> |
serializableBuilderClass() |
JobStatus |
status()
An optional filter that lets you search for jobs that have the specified status.
|
String |
statusAsString()
An optional filter that lets you search for jobs that have the specified status.
|
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).
|
String |
targetSelectionAsString()
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 |
thingGroupId()
A filter that limits the returned jobs to those for the specified group.
|
String |
thingGroupName()
A filter that limits the returned jobs to those for the specified group.
|
ListJobsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final JobStatus status()
An optional filter that lets you search for jobs that have the specified status.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic final String statusAsString()
An optional filter that lets you search for jobs that have the specified status.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic final 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.
If the service returns an enum value that is not available in the current SDK version, targetSelection
will return TargetSelection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetSelectionAsString().
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.
TargetSelectionpublic final String targetSelectionAsString()
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.
If the service returns an enum value that is not available in the current SDK version, targetSelection
will return TargetSelection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetSelectionAsString().
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.
TargetSelectionpublic final Integer maxResults()
The maximum number of results to return per request.
public final String nextToken()
The token to retrieve the next set of results.
public final String thingGroupName()
A filter that limits the returned jobs to those for the specified group.
public final String thingGroupId()
A filter that limits the returned jobs to those for the specified group.
public final 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 in public preview.
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 in public preview.
public ListJobsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListJobsRequest.Builder,ListJobsRequest>toBuilder in class IotRequestpublic static ListJobsRequest.Builder builder()
public static Class<? extends ListJobsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.