pub struct Builder { /* private fields */ }
Expand description
A builder for ModifyCacheSubnetGroupInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
sourcepub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
pub fn cache_subnet_group_description(self, input: impl Into<String>) -> Self
A description of the cache subnet group.
sourcepub fn set_cache_subnet_group_description(self, input: Option<String>) -> Self
pub fn set_cache_subnet_group_description(self, input: Option<String>) -> Self
A description of the cache subnet group.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
The EC2 subnet IDs for the cache subnet group.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The EC2 subnet IDs for the cache subnet group.
sourcepub fn build(self) -> Result<ModifyCacheSubnetGroupInput, BuildError>
pub fn build(self) -> Result<ModifyCacheSubnetGroupInput, BuildError>
Consumes the builder and constructs a ModifyCacheSubnetGroupInput
.