code: public void setShards(java.util.Collection<Shard> shards) {
          if (shards == null) {
              this.shards = null;
              return;
          }
  
          this.shards = new com.amazonaws.internal.SdkInternalList<Shard>(shards);
      }
docs: <p>
  The shards that comprise the stream.
  </p>
  
  @param shards
  The shards that comprise the stream.