Struct aws_sdk_rds::types::builders::SubnetBuilder
source · #[non_exhaustive]pub struct SubnetBuilder { /* private fields */ }Expand description
A builder for Subnet.
Implementations§
source§impl SubnetBuilder
impl SubnetBuilder
sourcepub fn subnet_identifier(self, input: impl Into<String>) -> Self
pub fn subnet_identifier(self, input: impl Into<String>) -> Self
The identifier of the subnet.
sourcepub fn set_subnet_identifier(self, input: Option<String>) -> Self
pub fn set_subnet_identifier(self, input: Option<String>) -> Self
The identifier of the subnet.
sourcepub fn get_subnet_identifier(&self) -> &Option<String>
pub fn get_subnet_identifier(&self) -> &Option<String>
The identifier of the subnet.
sourcepub fn subnet_availability_zone(self, input: AvailabilityZone) -> Self
pub fn subnet_availability_zone(self, input: AvailabilityZone) -> Self
Contains Availability Zone information.
This data type is used as an element in the OrderableDBInstanceOption data type.
sourcepub fn set_subnet_availability_zone(
self,
input: Option<AvailabilityZone>
) -> Self
pub fn set_subnet_availability_zone( self, input: Option<AvailabilityZone> ) -> Self
Contains Availability Zone information.
This data type is used as an element in the OrderableDBInstanceOption data type.
sourcepub fn get_subnet_availability_zone(&self) -> &Option<AvailabilityZone>
pub fn get_subnet_availability_zone(&self) -> &Option<AvailabilityZone>
Contains Availability Zone information.
This data type is used as an element in the OrderableDBInstanceOption data type.
sourcepub fn subnet_outpost(self, input: Outpost) -> Self
pub fn subnet_outpost(self, input: Outpost) -> Self
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
sourcepub fn set_subnet_outpost(self, input: Option<Outpost>) -> Self
pub fn set_subnet_outpost(self, input: Option<Outpost>) -> Self
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
sourcepub fn get_subnet_outpost(&self) -> &Option<Outpost>
pub fn get_subnet_outpost(&self) -> &Option<Outpost>
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
sourcepub fn subnet_status(self, input: impl Into<String>) -> Self
pub fn subnet_status(self, input: impl Into<String>) -> Self
The status of the subnet.
sourcepub fn set_subnet_status(self, input: Option<String>) -> Self
pub fn set_subnet_status(self, input: Option<String>) -> Self
The status of the subnet.
sourcepub fn get_subnet_status(&self) -> &Option<String>
pub fn get_subnet_status(&self) -> &Option<String>
The status of the subnet.
Trait Implementations§
source§impl Clone for SubnetBuilder
impl Clone for SubnetBuilder
source§fn clone(&self) -> SubnetBuilder
fn clone(&self) -> SubnetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SubnetBuilder
impl Debug for SubnetBuilder
source§impl Default for SubnetBuilder
impl Default for SubnetBuilder
source§fn default() -> SubnetBuilder
fn default() -> SubnetBuilder
source§impl PartialEq for SubnetBuilder
impl PartialEq for SubnetBuilder
source§fn eq(&self, other: &SubnetBuilder) -> bool
fn eq(&self, other: &SubnetBuilder) -> bool
self and other values to be equal, and is used
by ==.