public App withBuildSpec(String buildSpec) {
        setBuildSpec(buildSpec);
        return this;
    }
<p>
Describes the content of the build specification (build spec) for the Amplify app.
</p>

@param buildSpec
       Describes the content of the build specification (build spec) for the Amplify app.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/App.java