Struct aws_sdk_ec2::types::builders::VpcCidrBlockAssociationBuilder
source · #[non_exhaustive]pub struct VpcCidrBlockAssociationBuilder { /* private fields */ }
Expand description
A builder for VpcCidrBlockAssociation
.
Implementations§
source§impl VpcCidrBlockAssociationBuilder
impl VpcCidrBlockAssociationBuilder
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: VpcCidrBlockState) -> Self
pub fn cidr_block_state(self, input: VpcCidrBlockState) -> Self
Information about the state of the CIDR block.
sourcepub fn set_cidr_block_state(self, input: Option<VpcCidrBlockState>) -> Self
pub fn set_cidr_block_state(self, input: Option<VpcCidrBlockState>) -> Self
Information about the state of the CIDR block.
sourcepub fn get_cidr_block_state(&self) -> &Option<VpcCidrBlockState>
pub fn get_cidr_block_state(&self) -> &Option<VpcCidrBlockState>
Information about the state of the CIDR block.
sourcepub fn build(self) -> VpcCidrBlockAssociation
pub fn build(self) -> VpcCidrBlockAssociation
Consumes the builder and constructs a VpcCidrBlockAssociation
.
Trait Implementations§
source§impl Clone for VpcCidrBlockAssociationBuilder
impl Clone for VpcCidrBlockAssociationBuilder
source§fn clone(&self) -> VpcCidrBlockAssociationBuilder
fn clone(&self) -> VpcCidrBlockAssociationBuilder
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 Default for VpcCidrBlockAssociationBuilder
impl Default for VpcCidrBlockAssociationBuilder
source§fn default() -> VpcCidrBlockAssociationBuilder
fn default() -> VpcCidrBlockAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VpcCidrBlockAssociationBuilder
impl PartialEq for VpcCidrBlockAssociationBuilder
source§fn eq(&self, other: &VpcCidrBlockAssociationBuilder) -> bool
fn eq(&self, other: &VpcCidrBlockAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcCidrBlockAssociationBuilder
Auto Trait Implementations§
impl Freeze for VpcCidrBlockAssociationBuilder
impl RefUnwindSafe for VpcCidrBlockAssociationBuilder
impl Send for VpcCidrBlockAssociationBuilder
impl Sync for VpcCidrBlockAssociationBuilder
impl Unpin for VpcCidrBlockAssociationBuilder
impl UnwindSafe for VpcCidrBlockAssociationBuilder
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.