public CredentialSummary withFailed(Boolean failed) {
        setFailed(failed);
        return this;
    }
<p>
Indicates whether the temporary credential request was successful.
</p>

@param failed
       Indicates whether the temporary credential request was successful.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/CredentialSummary.java