code: public CommandInvocation withCommandPlugins(CommandPlugin... commandPlugins) {
          if (this.commandPlugins == null) {
              setCommandPlugins(new com.amazonaws.internal.SdkInternalList<CommandPlugin>(commandPlugins.length));
          }
          for (CommandPlugin ele : commandPlugins) {
              this.commandPlugins.add(ele);
          }
          return this;
      }
docs: <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCommandPlugins(java.util.Collection)} or {@link #withCommandPlugins(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param commandPlugins
  @return Returns a reference to this object so that method calls can be chained together.