@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeComponentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeComponentResult() |
Modifier and Type | Method and Description |
---|---|
DescribeComponentResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
DescribeComponentResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
DescribeComponentResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the component
version.
|
String |
getComponentName()
The name of the component.
|
String |
getComponentVersion()
The version of the component.
|
Date |
getCreationTimestamp()
The time at which the component was created, expressed in ISO 8601 format.
|
String |
getDescription()
The description of the component version.
|
List<ComponentPlatform> |
getPlatforms()
The platforms that the component version supports.
|
String |
getPublisher()
The publisher of the component version.
|
CloudComponentStatus |
getStatus()
The status of the component version in IoT Greengrass V2.
|
Map<String,String> |
getTags()
A list of key-value pairs that contain metadata for the resource.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the component
version.
|
void |
setComponentName(String componentName)
The name of the component.
|
void |
setComponentVersion(String componentVersion)
The version of the component.
|
void |
setCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
|
void |
setDescription(String description)
The description of the component version.
|
void |
setPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
|
void |
setPublisher(String publisher)
The publisher of the component version.
|
void |
setStatus(CloudComponentStatus status)
The status of the component version in IoT Greengrass V2.
|
void |
setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource.
|
String |
toString()
Returns a string representation of this object.
|
DescribeComponentResult |
withArn(String arn)
The ARN of the component
version.
|
DescribeComponentResult |
withComponentName(String componentName)
The name of the component.
|
DescribeComponentResult |
withComponentVersion(String componentVersion)
The version of the component.
|
DescribeComponentResult |
withCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
|
DescribeComponentResult |
withDescription(String description)
The description of the component version.
|
DescribeComponentResult |
withPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
|
DescribeComponentResult |
withPlatforms(ComponentPlatform... platforms)
The platforms that the component version supports.
|
DescribeComponentResult |
withPublisher(String publisher)
The publisher of the component version.
|
DescribeComponentResult |
withStatus(CloudComponentStatus status)
The status of the component version in IoT Greengrass V2.
|
DescribeComponentResult |
withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN of the component version.
arn
- The ARN of the
component version.public String getArn()
The ARN of the component version.
public DescribeComponentResult withArn(String arn)
The ARN of the component version.
arn
- The ARN of the
component version.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 DescribeComponentResult 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 DescribeComponentResult withComponentVersion(String componentVersion)
The version of the component.
componentVersion
- The version of the component.public void setCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
creationTimestamp
- The time at which the component was created, expressed in ISO 8601 format.public Date getCreationTimestamp()
The time at which the component was created, expressed in ISO 8601 format.
public DescribeComponentResult withCreationTimestamp(Date creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
creationTimestamp
- The time at which the component was created, expressed in ISO 8601 format.public void setPublisher(String publisher)
The publisher of the component version.
publisher
- The publisher of the component version.public String getPublisher()
The publisher of the component version.
public DescribeComponentResult withPublisher(String publisher)
The publisher of the component version.
publisher
- The publisher of the component version.public void setDescription(String description)
The description of the component version.
description
- The description of the component version.public String getDescription()
The description of the component version.
public DescribeComponentResult withDescription(String description)
The description of the component version.
description
- The description of the component version.public void setStatus(CloudComponentStatus status)
The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.
status
- The status of the component version in IoT Greengrass V2. This status is different from the status of the
component on a core device.public CloudComponentStatus getStatus()
The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.
public DescribeComponentResult withStatus(CloudComponentStatus status)
The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.
status
- The status of the component version in IoT Greengrass V2. This status is different from the status of the
component on a core device.public List<ComponentPlatform> getPlatforms()
The platforms that the component version supports.
public void setPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
platforms
- The platforms that the component version supports.public DescribeComponentResult withPlatforms(ComponentPlatform... platforms)
The platforms that the component version supports.
NOTE: This method appends the values to the existing list (if any). Use
setPlatforms(java.util.Collection)
or withPlatforms(java.util.Collection)
if you want to
override the existing values.
platforms
- The platforms that the component version supports.public DescribeComponentResult withPlatforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
platforms
- The platforms that the component version supports.public Map<String,String> getTags()
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
public void setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
tags
- A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources
in the IoT Greengrass V2 Developer Guide.public DescribeComponentResult withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
tags
- A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources
in the IoT Greengrass V2 Developer Guide.public DescribeComponentResult addTagsEntry(String key, String value)
public DescribeComponentResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public DescribeComponentResult clone()