public void setAttachedPolicies(java.util.Collection<AttachedPolicy> attachedPolicies) {
        if (attachedPolicies == null) {
            this.attachedPolicies = null;
            return;
        }

        this.attachedPolicies = new com.amazonaws.internal.SdkInternalList<AttachedPolicy>(attachedPolicies);
    }
<p>
A list of the attached policies.
</p>

@param attachedPolicies
       A list of the attached policies.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ListAttachedUserPoliciesResult.java