Interface CoreDevice.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CoreDevice.Builder,CoreDevice>, SdkBuilder<CoreDevice.Builder,CoreDevice>, SdkPojo
Enclosing class:
CoreDevice

public static interface CoreDevice.Builder extends SdkPojo, CopyableBuilder<CoreDevice.Builder,CoreDevice>
  • Method Details

    • coreDeviceThingName

      CoreDevice.Builder coreDeviceThingName(String coreDeviceThingName)

      The name of the core device. This is also the name of the IoT thing.

      Parameters:
      coreDeviceThingName - The name of the core device. This is also the name of the IoT thing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      CoreDevice.Builder status(String status)

      The status of the core device. Core devices can have the following statuses:

      • 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 status of the core device. Core devices can have the following statuses:

      • 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:
    • status

      The status of the core device. Core devices can have the following statuses:

      • 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 status of the core device. Core devices can have the following statuses:

      • 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:
    • lastStatusUpdateTimestamp

      CoreDevice.Builder lastStatusUpdateTimestamp(Instant lastStatusUpdateTimestamp)

      The time at which the core device's status last updated, expressed in ISO 8601 format.

      Parameters:
      lastStatusUpdateTimestamp - The time at which the core device's status last updated, expressed in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.