Struct aws_sdk_memorydb::input::failover_shard_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FailoverShardInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The cluster being failed over
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The cluster being failed over
sourcepub fn shard_name(self, input: impl Into<String>) -> Self
pub fn shard_name(self, input: impl Into<String>) -> Self
The name of the shard
sourcepub fn set_shard_name(self, input: Option<String>) -> Self
pub fn set_shard_name(self, input: Option<String>) -> Self
The name of the shard
sourcepub fn build(self) -> Result<FailoverShardInput, BuildError>
pub fn build(self) -> Result<FailoverShardInput, BuildError>
Consumes the builder and constructs a FailoverShardInput
.