public TrustAnchorDetail withTrustAnchorId(String trustAnchorId) {
        setTrustAnchorId(trustAnchorId);
        return this;
    }
<p>
The unique identifier of the trust anchor.
</p>

@param trustAnchorId
       The unique identifier of the trust anchor.
@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/TrustAnchorDetail.java