Struct aws_sdk_dax::input::update_subnet_group_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateSubnetGroupInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn subnet_group_name(self, input: impl Into<String>) -> Self
pub fn subnet_group_name(self, input: impl Into<String>) -> Self
The name of the subnet group.
sourcepub fn set_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_subnet_group_name(self, input: Option<String>) -> Self
The name of the subnet group.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the subnet group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the 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
.
A list of subnet IDs in the subnet group.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of subnet IDs in the subnet group.
sourcepub fn build(self) -> Result<UpdateSubnetGroupInput, BuildError>
pub fn build(self) -> Result<UpdateSubnetGroupInput, BuildError>
Consumes the builder and constructs a UpdateSubnetGroupInput
.