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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreDevice.BuildercoreDeviceThingName(String coreDeviceThingName)The name of the core device.CoreDevice.BuilderlastStatusUpdateTimestamp(Instant lastStatusUpdateTimestamp)The time at which the core device's status last updated, expressed in ISO 8601 format.CoreDevice.Builderstatus(String status)The status of the core device.CoreDevice.Builderstatus(CoreDeviceStatus status)The status of the core device.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-