public void setShards(java.util.Collection<Shard> shards) {
        if (shards == null) {
            this.shards = null;
            return;
        }

        this.shards = new com.amazonaws.internal.SdkInternalList<Shard>(shards);
    }
<p>
The shards that comprise the stream.
</p>

@param shards
       The shards that comprise the stream.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesis/model/StreamDescription.java