public void setCreateNewVersion(Boolean createNewVersion) {
        this.createNewVersion = createNewVersion;
    }
<p>
Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the
updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the
template.
</p>
<p>
If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest
existing version of the template. If you specify a value of true for this parameter, don't specify a value for
the version parameter. Otherwise, an error will occur.
</p>

@param createNewVersion
       Specifies whether to save the updates as a new version of the message template. Valid values are: true,
       save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version
       of the template.</p>
       <p>
       If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the
       latest existing version of the template. If you specify a value of true for this parameter, don't specify
       a value for the version parameter. Otherwise, an error will occur.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/UpdateInAppTemplateRequest.java