public StreamDescription withShards(java.util.Collection<Shard> shards) {
        setShards(shards);
        return this;
    }
<p>
The shards that comprise the stream.
</p>

@param shards
       The shards that comprise the stream.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesis/model/StreamDescription.java