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