public void setTaskFailedEventDetails(TaskFailedEventDetails taskFailedEventDetails) {
        this.taskFailedEventDetails = taskFailedEventDetails;
    }
<p>
Contains details about the failure of a task.
</p>

@param taskFailedEventDetails
       Contains details about the failure of a task.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/HistoryEvent.java