Interface InstalledComponent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstalledComponent.Builder,
,InstalledComponent> SdkBuilder<InstalledComponent.Builder,
,InstalledComponent> SdkPojo
- Enclosing class:
InstalledComponent
-
Method Summary
Modifier and TypeMethodDescriptioncomponentName
(String componentName) The name of the component.componentVersion
(String componentVersion) The version of the component.Whether or not the component is a root component.lastInstallationSource
(String lastInstallationSource) The most recent deployment source that brought the component to the Greengrass core device.lastReportedTimestamp
(Instant lastReportedTimestamp) The last time the Greengrass core device sent a message containing a component's state to the Amazon Web Services Cloud.lastStatusChangeTimestamp
(Instant lastStatusChangeTimestamp) The status of how current the data is.lifecycleState
(String lifecycleState) The lifecycle state of the component.lifecycleState
(InstalledComponentLifecycleState lifecycleState) The lifecycle state of the component.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.lifecycleStatusCodes
(String... lifecycleStatusCodes) The status codes that indicate the reason for failure whenever thelifecycleState
has an error or is in a broken state.lifecycleStatusCodes
(Collection<String> lifecycleStatusCodes) The status codes that indicate the reason for failure whenever thelifecycleState
has an error or is in a broken state.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 Details
-
componentName
The name of the component.
- Parameters:
componentName
- The name of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersion
The version of the component.
- Parameters:
componentVersion
- The version of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleState
The lifecycle state of the component.
- Parameters:
lifecycleState
- The lifecycle state of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleState
The lifecycle state of the component.
- Parameters:
lifecycleState
- The lifecycle state of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleStateDetails
A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.
- Parameters:
lifecycleStateDetails
- A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRoot
Whether or not the component is a root component.
- Parameters:
isRoot
- Whether or not the component is a root component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ID of the last deployment that contained the component. 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.
- Parameters:
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 ID of the last deployment that contained the component. For local deployments it will beLOCAL
.Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
lifecycleStatusCodes
- The status codes that indicate the reason for failure whenever thelifecycleState
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
lifecycleStatusCodes
- The status codes that indicate the reason for failure whenever thelifecycleState
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-