code: public ListKeyPoliciesResult withPolicyNames(String... policyNames) {
          if (this.policyNames == null) {
              setPolicyNames(new com.ibm.cloud.objectstorage.internal.SdkInternalList<String>(policyNames.length));
          }
          for (String ele : policyNames) {
              this.policyNames.add(ele);
          }
          return this;
      }
docs: <p>
  A list of policy names. Currently, there is only one policy and it is named "Default".
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPolicyNames(java.util.Collection)} or {@link #withPolicyNames(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param policyNames
  A list of policy names. Currently, there is only one policy and it is named "Default".
  @return Returns a reference to this object so that method calls can be chained together.