public UpdateServiceInstanceRequest withTemplateMajorVersion(String templateMajorVersion) {
        setTemplateMajorVersion(templateMajorVersion);
        return this;
    }
<p>
The major version of the service template to update.
</p>

@param templateMajorVersion
       The major version of the service template to update.
@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/UpdateServiceInstanceRequest.java