public Shard withShardId(String shardId) {
        setShardId(shardId);
        return this;
    }
<p>
The ID of the shard.
</p>

@param shardId
       The ID of the shard.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdbelastic/src/main/java/com/amazonaws/services/docdbelastic/model/Shard.java