pub struct Builder { /* private fields */ }
Expand description
A builder for ShardConfigurationRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn shard_count(self, input: i32) -> Self
pub fn shard_count(self, input: i32) -> Self
The number of shards in the cluster
sourcepub fn set_shard_count(self, input: Option<i32>) -> Self
pub fn set_shard_count(self, input: Option<i32>) -> Self
The number of shards in the cluster
sourcepub fn build(self) -> ShardConfigurationRequest
pub fn build(self) -> ShardConfigurationRequest
Consumes the builder and constructs a ShardConfigurationRequest
.