Interface CoreDevice.Builder

    • Method Detail

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

        CoreDevice.Builder status​(CoreDeviceStatus 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:
        CoreDeviceStatus, CoreDeviceStatus
      • 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.