@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstalledComponent extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a component on a Greengrass core device.
| Constructor and Description |
|---|
InstalledComponent() |
| Modifier and Type | Method and Description |
|---|---|
InstalledComponent |
clone() |
boolean |
equals(Object obj) |
String |
getComponentName()
The name of the component.
|
String |
getComponentVersion()
The version of the component.
|
Boolean |
getIsRoot()
Whether or not the component is a root component.
|
Date |
getLastStatusChangeTimestamp()
The status of how current the data is.
|
String |
getLifecycleState()
The lifecycle state of the component.
|
String |
getLifecycleStateDetails()
The details about the lifecycle state of the component.
|
int |
hashCode() |
Boolean |
isRoot()
Whether or not the component is a root component.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComponentName(String componentName)
The name of the component.
|
void |
setComponentVersion(String componentVersion)
The version of the component.
|
void |
setIsRoot(Boolean isRoot)
Whether or not the component is a root component.
|
void |
setLastStatusChangeTimestamp(Date lastStatusChangeTimestamp)
The status of how current the data is.
|
void |
setLifecycleState(String lifecycleState)
The lifecycle state of the component.
|
void |
setLifecycleStateDetails(String lifecycleStateDetails)
The details about the lifecycle state of the component.
|
String |
toString()
Returns a string representation of this object.
|
InstalledComponent |
withComponentName(String componentName)
The name of the component.
|
InstalledComponent |
withComponentVersion(String componentVersion)
The version of the component.
|
InstalledComponent |
withIsRoot(Boolean isRoot)
Whether or not the component is a root component.
|
InstalledComponent |
withLastStatusChangeTimestamp(Date lastStatusChangeTimestamp)
The status of how current the data is.
|
InstalledComponent |
withLifecycleState(InstalledComponentLifecycleState lifecycleState)
The lifecycle state of the component.
|
InstalledComponent |
withLifecycleState(String lifecycleState)
The lifecycle state of the component.
|
InstalledComponent |
withLifecycleStateDetails(String lifecycleStateDetails)
The details about the lifecycle state of the component.
|
public void setComponentName(String componentName)
The name of the component.
componentName - The name of the component.public String getComponentName()
The name of the component.
public InstalledComponent withComponentName(String componentName)
The name of the component.
componentName - The name of the component.public void setComponentVersion(String componentVersion)
The version of the component.
componentVersion - The version of the component.public String getComponentVersion()
The version of the component.
public InstalledComponent withComponentVersion(String componentVersion)
The version of the component.
componentVersion - The version of the component.public void setLifecycleState(String lifecycleState)
The lifecycle state of the component.
lifecycleState - The lifecycle state of the component.InstalledComponentLifecycleStatepublic String getLifecycleState()
The lifecycle state of the component.
InstalledComponentLifecycleStatepublic InstalledComponent withLifecycleState(String lifecycleState)
The lifecycle state of the component.
lifecycleState - The lifecycle state of the component.InstalledComponentLifecycleStatepublic InstalledComponent withLifecycleState(InstalledComponentLifecycleState lifecycleState)
The lifecycle state of the component.
lifecycleState - The lifecycle state of the component.InstalledComponentLifecycleStatepublic void setLifecycleStateDetails(String lifecycleStateDetails)
The details about the lifecycle state of the component.
lifecycleStateDetails - The details about the lifecycle state of the component.public String getLifecycleStateDetails()
The details about the lifecycle state of the component.
public InstalledComponent withLifecycleStateDetails(String lifecycleStateDetails)
The details about the lifecycle state of the component.
lifecycleStateDetails - The details about the lifecycle state of the component.public void setIsRoot(Boolean isRoot)
Whether or not the component is a root component.
isRoot - Whether or not the component is a root component.public Boolean getIsRoot()
Whether or not the component is a root component.
public InstalledComponent withIsRoot(Boolean isRoot)
Whether or not the component is a root component.
isRoot - Whether or not the component is a root component.public Boolean isRoot()
Whether or not the component is a root component.
public void setLastStatusChangeTimestamp(Date 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.
public Date getLastStatusChangeTimestamp()
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.
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.
public InstalledComponent withLastStatusChangeTimestamp(Date 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.
public String toString()
toString in class ObjectObject.toString()public InstalledComponent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.