Struct aws_sdk_databasemigration::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupInputBuilder
source · #[non_exhaustive]pub struct CreateReplicationSubnetGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateReplicationSubnetGroupInput
.
Implementations§
source§impl CreateReplicationSubnetGroupInputBuilder
impl CreateReplicationSubnetGroupInputBuilder
sourcepub fn replication_subnet_group_identifier(
self,
input: impl Into<String>
) -> Self
pub fn replication_subnet_group_identifier( self, input: impl Into<String> ) -> Self
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
sourcepub fn set_replication_subnet_group_identifier(
self,
input: Option<String>
) -> Self
pub fn set_replication_subnet_group_identifier( self, input: Option<String> ) -> Self
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
sourcepub fn get_replication_subnet_group_identifier(&self) -> &Option<String>
pub fn get_replication_subnet_group_identifier(&self) -> &Option<String>
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
sourcepub fn replication_subnet_group_description(
self,
input: impl Into<String>
) -> Self
pub fn replication_subnet_group_description( self, input: impl Into<String> ) -> Self
The description for the subnet group.
sourcepub fn set_replication_subnet_group_description(
self,
input: Option<String>
) -> Self
pub fn set_replication_subnet_group_description( self, input: Option<String> ) -> Self
The description for the subnet group.
sourcepub fn get_replication_subnet_group_description(&self) -> &Option<String>
pub fn get_replication_subnet_group_description(&self) -> &Option<String>
The description for 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
.
One or more subnet IDs to be assigned to 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
One or more subnet IDs to be assigned to the subnet group.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
One or more subnet IDs to be assigned to the subnet group.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
One or more tags to be assigned to the subnet group.
One or more tags to be assigned to the subnet group.
One or more tags to be assigned to the subnet group.
sourcepub fn build(self) -> Result<CreateReplicationSubnetGroupInput, BuildError>
pub fn build(self) -> Result<CreateReplicationSubnetGroupInput, BuildError>
Consumes the builder and constructs a CreateReplicationSubnetGroupInput
.
source§impl CreateReplicationSubnetGroupInputBuilder
impl CreateReplicationSubnetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateReplicationSubnetGroupOutput, SdkError<CreateReplicationSubnetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateReplicationSubnetGroupOutput, SdkError<CreateReplicationSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateReplicationSubnetGroupInputBuilder
impl Clone for CreateReplicationSubnetGroupInputBuilder
source§fn clone(&self) -> CreateReplicationSubnetGroupInputBuilder
fn clone(&self) -> CreateReplicationSubnetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateReplicationSubnetGroupInputBuilder
impl Default for CreateReplicationSubnetGroupInputBuilder
source§fn default() -> CreateReplicationSubnetGroupInputBuilder
fn default() -> CreateReplicationSubnetGroupInputBuilder
source§impl PartialEq<CreateReplicationSubnetGroupInputBuilder> for CreateReplicationSubnetGroupInputBuilder
impl PartialEq<CreateReplicationSubnetGroupInputBuilder> for CreateReplicationSubnetGroupInputBuilder
source§fn eq(&self, other: &CreateReplicationSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &CreateReplicationSubnetGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.