* The ARN of the component * version. *
*/ private String arn; /** ** The name of the component. *
*/ private String componentName; /** ** The version of the component. *
*/ private String componentVersion; /** ** The time at which the component was created, expressed in ISO 8601 format. *
*/ private java.util.Date creationTimestamp; /** ** The publisher of the component version. *
*/ private String publisher; /** ** The description of the component version. *
*/ private String description; /** ** The status of the component version in IoT Greengrass V2. This status is different from the status of the * component on a core device. *
*/ private CloudComponentStatus status; /** ** The platforms that the component version supports. *
*/ private java.util.List* 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. *
*/ private java.util.Map* The ARN of the component * version. *
* * @param arn * The ARN of the * component version. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the component * version. *
* * @return The ARN of the * component version. */ public String getArn() { return this.arn; } /** ** The ARN of the component * version. *
* * @param arn * The ARN of the * component version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withArn(String arn) { setArn(arn); return this; } /** ** The name of the component. *
* * @param componentName * The name of the component. */ public void setComponentName(String componentName) { this.componentName = componentName; } /** ** The name of the component. *
* * @return The name of the component. */ public String getComponentName() { return this.componentName; } /** ** The name of the component. *
* * @param componentName * The name of the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withComponentName(String componentName) { setComponentName(componentName); return this; } /** ** The version of the component. *
* * @param componentVersion * The version of the component. */ public void setComponentVersion(String componentVersion) { this.componentVersion = componentVersion; } /** ** The version of the component. *
* * @return The version of the component. */ public String getComponentVersion() { return this.componentVersion; } /** ** The version of the component. *
* * @param componentVersion * The version of the component. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withComponentVersion(String componentVersion) { setComponentVersion(componentVersion); return this; } /** ** The time at which the component was created, expressed in ISO 8601 format. *
* * @param creationTimestamp * The time at which the component was created, expressed in ISO 8601 format. */ public void setCreationTimestamp(java.util.Date creationTimestamp) { this.creationTimestamp = creationTimestamp; } /** ** The time at which the component was created, expressed in ISO 8601 format. *
* * @return The time at which the component was created, expressed in ISO 8601 format. */ public java.util.Date getCreationTimestamp() { return this.creationTimestamp; } /** ** The time at which the component was created, expressed in ISO 8601 format. *
* * @param creationTimestamp * The time at which the component was created, expressed in ISO 8601 format. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withCreationTimestamp(java.util.Date creationTimestamp) { setCreationTimestamp(creationTimestamp); return this; } /** ** The publisher of the component version. *
* * @param publisher * The publisher of the component version. */ public void setPublisher(String publisher) { this.publisher = publisher; } /** ** The publisher of the component version. *
* * @return The publisher of the component version. */ public String getPublisher() { return this.publisher; } /** ** The publisher of the component version. *
* * @param publisher * The publisher of the component version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withPublisher(String publisher) { setPublisher(publisher); return this; } /** ** The description of the component version. *
* * @param description * The description of the component version. */ public void setDescription(String description) { this.description = description; } /** ** The description of the component version. *
* * @return The description of the component version. */ public String getDescription() { return this.description; } /** ** The description of the component version. *
* * @param description * The description of the component version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withDescription(String description) { setDescription(description); return this; } /** ** The status of the component version in IoT Greengrass V2. This status is different from the status of the * component on a core device. *
* * @param 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 void setStatus(CloudComponentStatus status) { this.status = 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. *
* * @return 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() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withStatus(CloudComponentStatus status) { setStatus(status); return this; } /** ** The platforms that the component version supports. *
* * @return The platforms that the component version supports. */ public java.util.List* The platforms that the component version supports. *
* * @param platforms * The platforms that the component version supports. */ public void setPlatforms(java.util.Collection* The platforms that the component version supports. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPlatforms(java.util.Collection)} or {@link #withPlatforms(java.util.Collection)} if you want to * override the existing values. *
* * @param platforms * The platforms that the component version supports. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withPlatforms(ComponentPlatform... platforms) { if (this.platforms == null) { setPlatforms(new java.util.ArrayList* The platforms that the component version supports. *
* * @param platforms * The platforms that the component version supports. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withPlatforms(java.util.Collection* 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. *
* * @return 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 java.util.Map* 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. *
* * @param 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 void setTags(java.util.Map* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeComponentResult withTags(java.util.Map