@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return per request.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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()
.
JobStatus
public 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()
.
JobStatus
public 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.
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()
.
TargetSelection
public 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.
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()
.
TargetSelection
public Integer maxResults()
The maximum number of results to return per request.
public String nextToken()
The token to retrieve the next set of results.
public String thingGroupName()
A filter that limits the returned jobs to those for the specified group.
public String thingGroupId()
A filter that limits the returned jobs to those for the specified group.
public ListJobsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListJobsRequest.Builder,ListJobsRequest>
toBuilder
in class IotRequest
public static ListJobsRequest.Builder builder()
public static Class<? extends ListJobsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.