code: public InputSecurityGroup withWhitelistRules(InputWhitelistRule... whitelistRules) {
          if (this.whitelistRules == null) {
              setWhitelistRules(new java.util.ArrayList<InputWhitelistRule>(whitelistRules.length));
          }
          for (InputWhitelistRule ele : whitelistRules) {
              this.whitelistRules.add(ele);
          }
          return this;
      }
docs: Whitelist rules and their sync status
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setWhitelistRules(java.util.Collection)} or {@link #withWhitelistRules(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param whitelistRules
  Whitelist rules and their sync status
  @return Returns a reference to this object so that method calls can be chained together.