code: public ListEntitiesForPolicyResult withPolicyRoles(PolicyRole... policyRoles) {
          if (this.policyRoles == null) {
              setPolicyRoles(new com.amazonaws.internal.SdkInternalList<PolicyRole>(policyRoles.length));
          }
          for (PolicyRole ele : policyRoles) {
              this.policyRoles.add(ele);
          }
          return this;
      }
docs: <p>
  A list of IAM roles that the policy is attached to.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPolicyRoles(java.util.Collection)} or {@link #withPolicyRoles(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param policyRoles
  A list of IAM roles that the policy is attached to.
  @return Returns a reference to this object so that method calls can be chained together.