code: public void setGroupNames(java.util.Collection<String> groupNames) {
          if (groupNames == null) {
              this.groupNames = null;
              return;
          }
  
          this.groupNames = new com.amazonaws.internal.SdkInternalList<String>(groupNames);
      }
docs: <p>
  The group to modify for the snapshot.
  </p>
  
  @param groupNames
  The group to modify for the snapshot.