public DescribeComponentResult withPublisher(String publisher) {
        setPublisher(publisher);
        return this;
    }
<p>
The publisher of the component version.
</p>

@param publisher
       The publisher of the component version.
@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