public void setTrustAnchors(java.util.Collection<TrustAnchorDetail> trustAnchors) {
        if (trustAnchors == null) {
            this.trustAnchors = null;
            return;
        }

        this.trustAnchors = new java.util.ArrayList<TrustAnchorDetail>(trustAnchors);
    }
<p>
A list of trust anchors.
</p>

@param trustAnchors
       A list of trust anchors.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/ListTrustAnchorsResult.java