public UpdateApplicationRequest withDefinition(Definition definition) {
        setDefinition(definition);
        return this;
    }
<p>
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
</p>

@param definition
       The application definition for this application. You can specify either inline JSON or an S3 bucket
       location.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/UpdateApplicationRequest.java