code: public BatchLookupPolicyResponse withPolicyToPathList(PolicyToPath... policyToPathList) {
          if (this.policyToPathList == null) {
              setPolicyToPathList(new java.util.ArrayList<PolicyToPath>(policyToPathList.length));
          }
          for (PolicyToPath ele : policyToPathList) {
              this.policyToPathList.add(ele);
          }
          return this;
      }
docs: <p>
  Provides list of path to policies. Policies contain <code>PolicyId</code>, <code>ObjectIdentifier</code>, and
  <code>PolicyType</code>. For more information, see <a href=
  "https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies"
  >Policies</a>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPolicyToPathList(java.util.Collection)} or {@link #withPolicyToPathList(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param policyToPathList
  Provides list of path to policies. Policies contain <code>PolicyId</code>, <code>ObjectIdentifier</code>,
  and <code>PolicyType</code>. For more information, see <a href=
  "https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies"
  >Policies</a>.
  @return Returns a reference to this object so that method calls can be chained together.