public UpdateProjectResult withFailureReasons(java.util.Collection<ProjectDeletionError> failureReasons) {
        setFailureReasons(failureReasons);
        return this;
    }
<p>
Specifies the error message that is returned if the operation cannot be successfully completed.
</p>

@param failureReasons
       Specifies the error message that is returned if the operation cannot be successfully completed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/UpdateProjectResult.java