Interface ListCoreDevicesRequest.Builder

    • Method Detail

      • thingGroupArn

        ListCoreDevicesRequest.Builder thingGroupArn​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ListCoreDevicesRequest.Builder status​(String 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CoreDeviceStatus, CoreDeviceStatus
      • status

        ListCoreDevicesRequest.Builder status​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CoreDeviceStatus, CoreDeviceStatus
      • maxResults

        ListCoreDevicesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to be returned per paginated request.

        Parameters:
        maxResults - The maximum number of results to be returned per paginated request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListCoreDevicesRequest.Builder nextToken​(String nextToken)

        The token to be used for the next set of paginated results.

        Parameters:
        nextToken - The token to be used for the next set of paginated results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.