public void setFailed(CapacityTaskFailure failed) {
        this.failed = failed;
    }
<p>
Reason that the specified capacity task failed.
</p>

@param failed
       Reason that the specified capacity task failed.
aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/StartCapacityTaskResult.java