public ShardFilter withShardId(String shardId) {
        setShardId(shardId);
        return this;
    }
<p>
The exclusive start <code>shardID</code> speified in the <code>ShardFilter</code> parameter. This property can
only be used if the <code>AFTER_SHARD_ID</code> shard type is specified.
</p>

@param shardId
       The exclusive start <code>shardID</code> speified in the <code>ShardFilter</code> parameter. This property
       can only be used if the <code>AFTER_SHARD_ID</code> shard type is specified.
@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/ShardFilter.java