public EnableTrustAnchorResult withTrustAnchor(TrustAnchorDetail trustAnchor) {
        setTrustAnchor(trustAnchor);
        return this;
    }
<p>
The state of the trust anchor after a read or write operation.
</p>

@param trustAnchor
       The state of the trust anchor after a read or write operation.
@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/EnableTrustAnchorResult.java