@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentPlatform extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a platform that a component supports.
Constructor and Description |
---|
ComponentPlatform() |
Modifier and Type | Method and Description |
---|---|
ComponentPlatform |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
ComponentPlatform |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
ComponentPlatform |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
A dictionary of attributes for the platform.
|
String |
getName()
The friendly name of the platform.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
A dictionary of attributes for the platform.
|
void |
setName(String name)
The friendly name of the platform.
|
String |
toString()
Returns a string representation of this object.
|
ComponentPlatform |
withAttributes(Map<String,String> attributes)
A dictionary of attributes for the platform.
|
ComponentPlatform |
withName(String name)
The friendly name of the platform.
|
public void setName(String name)
The friendly name of the platform. This name helps you identify the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
architecture
of the platform.
name
- The friendly name of the platform. This name helps you identify the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
architecture
of the platform.
public String getName()
The friendly name of the platform. This name helps you identify the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
architecture
of the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
architecture
of the platform.
public ComponentPlatform withName(String name)
The friendly name of the platform. This name helps you identify the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
architecture
of the platform.
name
- The friendly name of the platform. This name helps you identify the platform.
If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
architecture
of the platform.
public Map<String,String> getAttributes()
A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and
platform
by default. You can specify additional platform attributes for a core device when you
deploy the Greengrass nucleus component. For more information, see the Greengrass
nucleus component in the IoT Greengrass V2 Developer Guide.
os
and platform
by default. You can specify additional platform attributes for a core device
when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.public void setAttributes(Map<String,String> attributes)
A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and
platform
by default. You can specify additional platform attributes for a core device when you
deploy the Greengrass nucleus component. For more information, see the Greengrass
nucleus component in the IoT Greengrass V2 Developer Guide.
attributes
- A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and platform
by default. You can specify additional platform attributes for a core device
when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.public ComponentPlatform withAttributes(Map<String,String> attributes)
A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and
platform
by default. You can specify additional platform attributes for a core device when you
deploy the Greengrass nucleus component. For more information, see the Greengrass
nucleus component in the IoT Greengrass V2 Developer Guide.
attributes
- A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and platform
by default. You can specify additional platform attributes for a core device
when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.public ComponentPlatform addAttributesEntry(String key, String value)
public ComponentPlatform clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public ComponentPlatform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.