public TopicVisual withRole(String role) {
        setRole(role);
        return this;
    }
<p>
The role for the <code>TopicVisual</code>.
</p>

@param role
       The role for the <code>TopicVisual</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see VisualRole
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/TopicVisual.java