public void setNumShards(Integer numShards) {
        this.numShards = numShards;
    }
<p>
The number of shards the cluster will contain. The default value is 1.
</p>

@param numShards
       The number of shards the cluster will contain. The default value is 1.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/CreateClusterRequest.java