@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 AWS IoT 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.
|
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)
Marshalls this structured data using the given
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 |
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 |
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.InstalledComponentLifecycleState
public String getLifecycleState()
The lifecycle state of the component.
InstalledComponentLifecycleState
public InstalledComponent withLifecycleState(String lifecycleState)
The lifecycle state of the component.
lifecycleState
- The lifecycle state of the component.InstalledComponentLifecycleState
public InstalledComponent withLifecycleState(InstalledComponentLifecycleState lifecycleState)
The lifecycle state of the component.
lifecycleState
- The lifecycle state of the component.InstalledComponentLifecycleState
public 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 String toString()
toString
in class Object
Object.toString()
public InstalledComponent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.