public static interface InstalledComponent.Builder extends SdkPojo, CopyableBuilder<InstalledComponent.Builder,InstalledComponent>
| Modifier and Type | Method and Description |
|---|---|
InstalledComponent.Builder |
componentName(String componentName)
The name of the component.
|
InstalledComponent.Builder |
componentVersion(String componentVersion)
The version of the component.
|
InstalledComponent.Builder |
isRoot(Boolean isRoot)
Whether or not the component is a root component.
|
InstalledComponent.Builder |
lastInstallationSource(String lastInstallationSource)
The most recent deployment source that brought the component to the Greengrass core device.
|
InstalledComponent.Builder |
lastReportedTimestamp(Instant lastReportedTimestamp)
The last time the Greengrass core device sent a message containing a component's state to the Amazon Web
Services Cloud.
|
InstalledComponent.Builder |
lastStatusChangeTimestamp(Instant lastStatusChangeTimestamp)
The status of how current the data is.
|
InstalledComponent.Builder |
lifecycleState(InstalledComponentLifecycleState lifecycleState)
The lifecycle state of the component.
|
InstalledComponent.Builder |
lifecycleState(String lifecycleState)
The lifecycle state of the component.
|
InstalledComponent.Builder |
lifecycleStateDetails(String lifecycleStateDetails)
A detailed response about the lifecycle state of the component that explains the reason why a component has
an error or is broken.
|
InstalledComponent.Builder |
lifecycleStatusCodes(Collection<String> lifecycleStatusCodes)
The status codes that indicate the reason for failure whenever the
lifecycleState has an error
or is in a broken state. |
InstalledComponent.Builder |
lifecycleStatusCodes(String... lifecycleStatusCodes)
The status codes that indicate the reason for failure whenever the
lifecycleState has an error
or is in a broken state. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstalledComponent.Builder componentName(String componentName)
The name of the component.
componentName - The name of the component.InstalledComponent.Builder componentVersion(String componentVersion)
The version of the component.
componentVersion - The version of the component.InstalledComponent.Builder lifecycleState(String lifecycleState)
The lifecycle state of the component.
lifecycleState - The lifecycle state of the component.InstalledComponentLifecycleState,
InstalledComponentLifecycleStateInstalledComponent.Builder lifecycleState(InstalledComponentLifecycleState lifecycleState)
The lifecycle state of the component.
lifecycleState - The lifecycle state of the component.InstalledComponentLifecycleState,
InstalledComponentLifecycleStateInstalledComponent.Builder lifecycleStateDetails(String lifecycleStateDetails)
A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.
lifecycleStateDetails - A detailed response about the lifecycle state of the component that explains the reason why a
component has an error or is broken.InstalledComponent.Builder isRoot(Boolean isRoot)
Whether or not the component is a root component.
isRoot - Whether or not the component is a root component.InstalledComponent.Builder lastStatusChangeTimestamp(Instant lastStatusChangeTimestamp)
The status of how current the data is.
This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.
lastStatusChangeTimestamp - The status of how current the data is.
This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.
InstalledComponent.Builder lastReportedTimestamp(Instant lastReportedTimestamp)
The last time the Greengrass core device sent a message containing a component's state to the Amazon Web Services Cloud.
A component does not need to see a state change for this field to update.
lastReportedTimestamp - The last time the Greengrass core device sent a message containing a component's state to the Amazon
Web Services Cloud.
A component does not need to see a state change for this field to update.
InstalledComponent.Builder lastInstallationSource(String lastInstallationSource)
The most recent deployment source that brought the component to the Greengrass core device. For a thing group
deployment or thing deployment, the source will be the The ID of the deployment. and for local deployments it
will be LOCAL.
Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.
lastInstallationSource - The most recent deployment source that brought the component to the Greengrass core device. For a
thing group deployment or thing deployment, the source will be the The ID of the deployment. and for
local deployments it will be LOCAL. Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.
InstalledComponent.Builder lifecycleStatusCodes(Collection<String> lifecycleStatusCodes)
The status codes that indicate the reason for failure whenever the lifecycleState has an error
or is in a broken state.
Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes response.
This response can be inaccurate in earlier Greengrass nucleus versions.
lifecycleStatusCodes - The status codes that indicate the reason for failure whenever the lifecycleState has an
error or is in a broken state.
Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes
response. This response can be inaccurate in earlier Greengrass nucleus versions.
InstalledComponent.Builder lifecycleStatusCodes(String... lifecycleStatusCodes)
The status codes that indicate the reason for failure whenever the lifecycleState has an error
or is in a broken state.
Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes response.
This response can be inaccurate in earlier Greengrass nucleus versions.
lifecycleStatusCodes - The status codes that indicate the reason for failure whenever the lifecycleState has an
error or is in a broken state.
Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes
response. This response can be inaccurate in earlier Greengrass nucleus versions.
Copyright © 2023. All rights reserved.