#[non_exhaustive]pub struct CidrBlockAssociationBuilder { /* private fields */ }
Expand description
A builder for CidrBlockAssociation
.
Implementations§
source§impl CidrBlockAssociationBuilder
impl CidrBlockAssociationBuilder
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The association ID for the IPv4 CIDR block.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The association ID for the IPv4 CIDR block.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The association ID for the IPv4 CIDR block.
sourcepub fn cidr_block(self, input: impl Into<String>) -> Self
pub fn cidr_block(self, input: impl Into<String>) -> Self
The IPv4 CIDR block.
sourcepub fn set_cidr_block(self, input: Option<String>) -> Self
pub fn set_cidr_block(self, input: Option<String>) -> Self
The IPv4 CIDR block.
sourcepub fn get_cidr_block(&self) -> &Option<String>
pub fn get_cidr_block(&self) -> &Option<String>
The IPv4 CIDR block.
sourcepub fn cidr_block_state(self, input: impl Into<String>) -> Self
pub fn cidr_block_state(self, input: impl Into<String>) -> Self
Information about the state of the IPv4 CIDR block.
sourcepub fn set_cidr_block_state(self, input: Option<String>) -> Self
pub fn set_cidr_block_state(self, input: Option<String>) -> Self
Information about the state of the IPv4 CIDR block.
sourcepub fn get_cidr_block_state(&self) -> &Option<String>
pub fn get_cidr_block_state(&self) -> &Option<String>
Information about the state of the IPv4 CIDR block.
sourcepub fn build(self) -> CidrBlockAssociation
pub fn build(self) -> CidrBlockAssociation
Consumes the builder and constructs a CidrBlockAssociation
.
Trait Implementations§
source§impl Clone for CidrBlockAssociationBuilder
impl Clone for CidrBlockAssociationBuilder
source§fn clone(&self) -> CidrBlockAssociationBuilder
fn clone(&self) -> CidrBlockAssociationBuilder
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 CidrBlockAssociationBuilder
impl Debug for CidrBlockAssociationBuilder
source§impl Default for CidrBlockAssociationBuilder
impl Default for CidrBlockAssociationBuilder
source§fn default() -> CidrBlockAssociationBuilder
fn default() -> CidrBlockAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CidrBlockAssociationBuilder
impl PartialEq for CidrBlockAssociationBuilder
source§fn eq(&self, other: &CidrBlockAssociationBuilder) -> bool
fn eq(&self, other: &CidrBlockAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CidrBlockAssociationBuilder
Auto Trait Implementations§
impl Freeze for CidrBlockAssociationBuilder
impl RefUnwindSafe for CidrBlockAssociationBuilder
impl Send for CidrBlockAssociationBuilder
impl Sync for CidrBlockAssociationBuilder
impl Unpin for CidrBlockAssociationBuilder
impl UnwindSafe for CidrBlockAssociationBuilder
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> 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.