Struct aws_sdk_redshift::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
sourcepub fn set_subnet_availability_zone(
self,
input: Option<AvailabilityZone>,
) -> Self
pub fn set_subnet_availability_zone( self, input: Option<AvailabilityZone>, ) -> Self
sourcepub fn get_subnet_availability_zone(&self) -> &Option<AvailabilityZone>
pub fn get_subnet_availability_zone(&self) -> &Option<AvailabilityZone>
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq for SubnetBuilder
impl PartialEq for SubnetBuilder
impl StructuralPartialEq for SubnetBuilder
Auto Trait Implementations§
impl Freeze for SubnetBuilder
impl RefUnwindSafe for SubnetBuilder
impl Send for SubnetBuilder
impl Sync for SubnetBuilder
impl Unpin for SubnetBuilder
impl UnwindSafe for SubnetBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.