public CreateServiceTemplateVersionRequest withMajorVersion(String majorVersion) {
        setMajorVersion(majorVersion);
        return this;
    }
<p>
To create a new minor version of the service template, include a <code>major Version</code>.
</p>
<p>
To create a new major and minor version of the service template, <i>exclude</i> <code>major Version</code>.
</p>

@param majorVersion
       To create a new minor version of the service template, include a <code>major Version</code>.</p>
       <p>
       To create a new major and minor version of the service template, <i>exclude</i> <code>major Version</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/CreateServiceTemplateVersionRequest.java