public NFSFileShareInfo withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
<code>ListTagsForResource</code> API operation.
</p>

@param tags
       A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
       key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
       <code>ListTagsForResource</code> API operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/NFSFileShareInfo.java