public EnvironmentTemplateFilter withMajorVersion(String majorVersion) {
        setMajorVersion(majorVersion);
        return this;
    }
<p>
Include <code>majorVersion</code> to filter search for a major version.
</p>

@param majorVersion
       Include <code>majorVersion</code> to filter search for a major version.
@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/EnvironmentTemplateFilter.java