Interface ShardConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ShardConfiguration.Builder,ShardConfiguration>, SdkBuilder<ShardConfiguration.Builder,ShardConfiguration>, SdkPojo
Enclosing class:
ShardConfiguration

public static interface ShardConfiguration.Builder extends SdkPojo, CopyableBuilder<ShardConfiguration.Builder,ShardConfiguration>
  • Method Details

    • slots

      A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.

      Parameters:
      slots - A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaCount

      ShardConfiguration.Builder replicaCount(Integer replicaCount)

      The number of read replica nodes in this shard.

      Parameters:
      replicaCount - The number of read replica nodes in this shard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.