@Override
    public UpdateApplicationResult updateApplication(UpdateApplicationRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateApplication(request);
    }
<p>
Updates a specified application. An application has to be in a stopped or created state in order to be updated.
</p>

@param updateApplicationRequest
@return Result of the UpdateApplication operation returned by the service.
@throws ValidationException
        The input fails to satisfy the constraints specified by an Amazon Web Services service.
@throws ResourceNotFoundException
        The specified resource was not found.
@throws InternalServerException
        Request processing failed because of an error or failure with the service.
@sample AWSEMRServerless.UpdateApplication
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication"
     target="_top">AWS API Documentation</a>
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/AWSEMRServerlessClient.java