public ViewContent withTemplate(String template) {
        setTemplate(template);
        return this;
    }
<p>
The view template representing the structure of the view.
</p>

@param template
       The view template representing the structure of the view.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/ViewContent.java