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

        this.attachedManagedPolicies = new com.amazonaws.internal.SdkInternalList<AttachedPolicy>(attachedManagedPolicies);
    }
<p>
A list of managed policies attached to the role. These policies are the role's access (permissions) policies.
</p>

@param attachedManagedPolicies
       A list of managed policies attached to the role. These policies are the role's access (permissions)
       policies.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/RoleDetail.java