Class ListCoreDevicesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Request
-
- software.amazon.awssdk.services.greengrassv2.model.ListCoreDevicesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListCoreDevicesRequest.Builder,ListCoreDevicesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListCoreDevicesRequest extends GreengrassV2Request implements ToCopyableBuilder<ListCoreDevicesRequest.Builder,ListCoreDevicesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListCoreDevicesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListCoreDevicesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to be returned per paginated request.StringnextToken()The token to be used for the next set of paginated results.List<SdkField<?>>sdkFields()static Class<? extends ListCoreDevicesRequest.Builder>serializableBuilderClass()CoreDeviceStatusstatus()The core device status by which to filter.StringstatusAsString()The core device status by which to filter.StringthingGroupArn()The ARN of the IoT thing group by which to filter.ListCoreDevicesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
thingGroupArn
public 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.
- Returns:
- 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.
-
status
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,
statuswill returnCoreDeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
CoreDeviceStatus
-
-
statusAsString
public 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,
statuswill returnCoreDeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
CoreDeviceStatus
-
-
maxResults
public final Integer maxResults()
The maximum number of results to be returned per paginated request.
- Returns:
- The maximum number of results to be returned per paginated request.
-
nextToken
public final String nextToken()
The token to be used for the next set of paginated results.
- Returns:
- The token to be used for the next set of paginated results.
-
toBuilder
public ListCoreDevicesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListCoreDevicesRequest.Builder,ListCoreDevicesRequest>- Specified by:
toBuilderin classGreengrassV2Request
-
builder
public static ListCoreDevicesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListCoreDevicesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-