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

@param failed
       Reason that the specified capacity task failed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/StartCapacityTaskResult.java