@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentCandidate extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a component that is a candidate to deploy to a Greengrass core device.
Constructor and Description |
---|
ComponentCandidate() |
Modifier and Type | Method and Description |
---|---|
ComponentCandidate |
addVersionRequirementsEntry(String key,
String value)
Add a single VersionRequirements entry
|
ComponentCandidate |
clearVersionRequirementsEntries()
Removes all the entries added into VersionRequirements.
|
ComponentCandidate |
clone() |
boolean |
equals(Object obj) |
String |
getComponentName()
The name of the component.
|
String |
getComponentVersion()
The version of the component.
|
Map<String,String> |
getVersionRequirements()
The version requirements for the component's dependencies.
|
int |
hashCode() |
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 |
setVersionRequirements(Map<String,String> versionRequirements)
The version requirements for the component's dependencies.
|
String |
toString()
Returns a string representation of this object.
|
ComponentCandidate |
withComponentName(String componentName)
The name of the component.
|
ComponentCandidate |
withComponentVersion(String componentVersion)
The version of the component.
|
ComponentCandidate |
withVersionRequirements(Map<String,String> versionRequirements)
The version requirements for the component's dependencies.
|
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 ComponentCandidate 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 ComponentCandidate withComponentVersion(String componentVersion)
The version of the component.
componentVersion
- The version of the component.public Map<String,String> getVersionRequirements()
The version requirements for the component's dependencies. Greengrass core devices get the version requirements from component recipes.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
public void setVersionRequirements(Map<String,String> versionRequirements)
The version requirements for the component's dependencies. Greengrass core devices get the version requirements from component recipes.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
versionRequirements
- The version requirements for the component's dependencies. Greengrass core devices get the version
requirements from component recipes.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
public ComponentCandidate withVersionRequirements(Map<String,String> versionRequirements)
The version requirements for the component's dependencies. Greengrass core devices get the version requirements from component recipes.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
versionRequirements
- The version requirements for the component's dependencies. Greengrass core devices get the version
requirements from component recipes.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
public ComponentCandidate addVersionRequirementsEntry(String key, String value)
public ComponentCandidate clearVersionRequirementsEntries()
public String toString()
toString
in class Object
Object.toString()
public ComponentCandidate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.