code: public ListPermissionsResult withPermissions(Permission... permissions) {
          if (this.permissions == null) {
              setPermissions(new java.util.ArrayList<Permission>(permissions.length));
          }
          for (Permission ele : permissions) {
              this.permissions.add(ele);
          }
          return this;
      }
docs: <p>
  Summary information about each permission assigned by the specified private CA, including the action enabled, the
  policy provided, and the time of creation.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPermissions(java.util.Collection)} or {@link #withPermissions(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param permissions
  Summary information about each permission assigned by the specified private CA, including the action
  enabled, the policy provided, and the time of creation.
  @return Returns a reference to this object so that method calls can be chained together.