@Generated(value="software.amazon.awssdk:codegen") public final class ListCoreDevicesRequest extends GreengrassV2Request implements ToCopyableBuilder<ListCoreDevicesRequest.Builder,ListCoreDevicesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListCoreDevicesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListCoreDevicesRequest.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 be returned per paginated request.
|
String |
nextToken()
The token to be used for the next set of paginated results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListCoreDevicesRequest.Builder> |
serializableBuilderClass() |
CoreDeviceStatus |
status()
The core device status by which to filter.
|
String |
statusAsString()
The core device status by which to filter.
|
String |
thingGroupArn()
The ARN of the IoT thing
group by which to filter.
|
ListCoreDevicesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String thingGroupArn()
The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that have successfully deployed a deployment that targets the thing group. When you remove a core device from a thing group, the list continues to include that core device.
public final CoreDeviceStatus status()
The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.
If the service returns an enum value that is not available in the current SDK version, status will
return CoreDeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
HEALTHY – The IoT Greengrass Core software and all components run on the core device without
issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core
device.
CoreDeviceStatuspublic final String statusAsString()
The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.
If the service returns an enum value that is not available in the current SDK version, status will
return CoreDeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
HEALTHY – The IoT Greengrass Core software and all components run on the core device without
issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core
device.
CoreDeviceStatuspublic final Integer maxResults()
The maximum number of results to be returned per paginated request.
public final String nextToken()
The token to be used for the next set of paginated results.
public ListCoreDevicesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListCoreDevicesRequest.Builder,ListCoreDevicesRequest>toBuilder in class GreengrassV2Requestpublic static ListCoreDevicesRequest.Builder builder()
public static Class<? extends ListCoreDevicesRequest.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.