public DescribeComponentResult withStatus(CloudComponentStatus status) {
        setStatus(status);
        return this;
    }
<p>
The status of the component version in IoT Greengrass V2. This status is different from the status of the
component on a core device.
</p>

@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.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/DescribeComponentResult.java