aws_sdk_dax/client/create_subnet_group.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateSubnetGroup`](crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`subnet_group_name(impl Into<String>)`](crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder::subnet_group_name) / [`set_subnet_group_name(Option<String>)`](crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder::set_subnet_group_name):<br>required: **true**<br><p>A name for the subnet group. This value is stored as a lowercase string.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder::set_description):<br>required: **false**<br><p>A description for the subnet group</p><br>
/// - [`subnet_ids(impl Into<String>)`](crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder::subnet_ids) / [`set_subnet_ids(Option<Vec::<String>>)`](crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder::set_subnet_ids):<br>required: **true**<br><p>A list of VPC subnet IDs for the subnet group.</p><br>
/// - On success, responds with [`CreateSubnetGroupOutput`](crate::operation::create_subnet_group::CreateSubnetGroupOutput) with field(s):
/// - [`subnet_group(Option<SubnetGroup>)`](crate::operation::create_subnet_group::CreateSubnetGroupOutput::subnet_group): <p>Represents the output of a <i>CreateSubnetGroup</i> operation.</p>
/// - On failure, responds with [`SdkError<CreateSubnetGroupError>`](crate::operation::create_subnet_group::CreateSubnetGroupError)
pub fn create_subnet_group(&self) -> crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder {
crate::operation::create_subnet_group::builders::CreateSubnetGroupFluentBuilder::new(self.handle.clone())
}
}