code: public ListPolicyVersionsResult withPolicyVersions(PolicyVersion... policyVersions) {
          if (this.policyVersions == null) {
              setPolicyVersions(new java.util.ArrayList<PolicyVersion>(policyVersions.length));
          }
          for (PolicyVersion ele : policyVersions) {
              this.policyVersions.add(ele);
          }
          return this;
      }
docs: <p>
  The policy versions.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPolicyVersions(java.util.Collection)} or {@link #withPolicyVersions(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param policyVersions
  The policy versions.
  @return Returns a reference to this object so that method calls can be chained together.