public ListTrustAnchorsResult withTrustAnchors(java.util.Collection<TrustAnchorDetail> trustAnchors) {
        setTrustAnchors(trustAnchors);
        return this;
    }
<p>
A list of trust anchors.
</p>

@param trustAnchors
       A list of trust anchors.
@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/ListTrustAnchorsResult.java