code: public BatchListObjectPoliciesResponse withAttachedPolicyIds(String... attachedPolicyIds) {
          if (this.attachedPolicyIds == null) {
              setAttachedPolicyIds(new java.util.ArrayList<String>(attachedPolicyIds.length));
          }
          for (String ele : attachedPolicyIds) {
              this.attachedPolicyIds.add(ele);
          }
          return this;
      }
docs: <p>
  A list of policy <code>ObjectIdentifiers</code>, that are attached to the object.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAttachedPolicyIds(java.util.Collection)} or {@link #withAttachedPolicyIds(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param attachedPolicyIds
  A list of policy <code>ObjectIdentifiers</code>, that are attached to the object.
  @return Returns a reference to this object so that method calls can be chained together.