code: public void setCommandInvocations(java.util.Collection<CommandInvocation> commandInvocations) {
          if (commandInvocations == null) {
              this.commandInvocations = null;
              return;
          }
  
          this.commandInvocations = new com.amazonaws.internal.SdkInternalList<CommandInvocation>(commandInvocations);
      }
docs: <p>
  (Optional) A list of all invocations.
  </p>
  
  @param commandInvocations
  (Optional) A list of all invocations.