code: public void setAttachedManagedPolicies(java.util.Collection<AttachedPolicy> attachedManagedPolicies) {
          if (attachedManagedPolicies == null) {
              this.attachedManagedPolicies = null;
              return;
          }
  
          this.attachedManagedPolicies = new com.amazonaws.internal.SdkInternalList<AttachedPolicy>(attachedManagedPolicies);
      }
docs: <p>
  A list of the managed policies attached to the user.
  </p>
  
  @param attachedManagedPolicies
  A list of the managed policies attached to the user.