code: public void setReplicationGroups(java.util.Collection<ReplicationGroup> replicationGroups) {
          if (replicationGroups == null) {
              this.replicationGroups = null;
              return;
          }
  
          this.replicationGroups = new com.amazonaws.internal.SdkInternalList<ReplicationGroup>(replicationGroups);
      }
docs: <p>
  A list of replication groups. Each item in the list contains detailed information about one replication group.
  </p>
  
  @param replicationGroups
  A list of replication groups. Each item in the list contains detailed information about one replication
  group.