public ComponentDeploymentSpecification withComponentVersion(String componentVersion) {
        setComponentVersion(componentVersion);
        return this;
    }
<p>
The version of the component.
</p>

@param componentVersion
       The version of the component.
@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/ComponentDeploymentSpecification.java