public void setFailureReasons(java.util.Collection<ProjectDeletionError> failureReasons) {
        if (failureReasons == null) {
            this.failureReasons = null;
            return;
        }

        this.failureReasons = new java.util.ArrayList<ProjectDeletionError>(failureReasons);
    }
<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.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/ProjectSummary.java