code: public SimulatePrincipalPolicyRequest withContextEntries(ContextEntry... contextEntries) {
          if (this.contextEntries == null) {
              setContextEntries(new com.amazonaws.internal.SdkInternalList<ContextEntry>(contextEntries.length));
          }
          for (ContextEntry ele : contextEntries) {
              this.contextEntries.add(ele);
          }
          return this;
      }
docs: <p>
  A list of context keys and corresponding values for the simulation to use. Whenever a context key is evaluated in
  one of the simulated IAM permission policies, the corresponding value is supplied.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setContextEntries(java.util.Collection)} or {@link #withContextEntries(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param contextEntries
  A list of context keys and corresponding values for the simulation to use. Whenever a context key is
  evaluated in one of the simulated IAM permission policies, the corresponding value is supplied.
  @return Returns a reference to this object so that method calls can be chained together.