#[non_exhaustive]pub struct Ipv6CidrBlockAssociationBuilder { /* private fields */ }Expand description
A builder for Ipv6CidrBlockAssociation.
Implementations§
source§impl Ipv6CidrBlockAssociationBuilder
impl Ipv6CidrBlockAssociationBuilder
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 IPv6 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 IPv6 CIDR block.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The association ID for the IPv6 CIDR block.
sourcepub fn ipv6_cidr_block(self, input: impl Into<String>) -> Self
pub fn ipv6_cidr_block(self, input: impl Into<String>) -> Self
The IPv6 CIDR block.
sourcepub fn set_ipv6_cidr_block(self, input: Option<String>) -> Self
pub fn set_ipv6_cidr_block(self, input: Option<String>) -> Self
The IPv6 CIDR block.
sourcepub fn get_ipv6_cidr_block(&self) -> &Option<String>
pub fn get_ipv6_cidr_block(&self) -> &Option<String>
The IPv6 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 CIDR block. Valid values are as follows:
-
associating -
associated -
disassociating -
disassociated -
failed -
failing
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 CIDR block. Valid values are as follows:
-
associating -
associated -
disassociating -
disassociated -
failed -
failing
sourcepub fn get_cidr_block_state(&self) -> &Option<String>
pub fn get_cidr_block_state(&self) -> &Option<String>
Information about the state of the CIDR block. Valid values are as follows:
-
associating -
associated -
disassociating -
disassociated -
failed -
failing
sourcepub fn build(self) -> Ipv6CidrBlockAssociation
pub fn build(self) -> Ipv6CidrBlockAssociation
Consumes the builder and constructs a Ipv6CidrBlockAssociation.
Trait Implementations§
source§impl Clone for Ipv6CidrBlockAssociationBuilder
impl Clone for Ipv6CidrBlockAssociationBuilder
source§fn clone(&self) -> Ipv6CidrBlockAssociationBuilder
fn clone(&self) -> Ipv6CidrBlockAssociationBuilder
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 Ipv6CidrBlockAssociationBuilder
impl Default for Ipv6CidrBlockAssociationBuilder
source§fn default() -> Ipv6CidrBlockAssociationBuilder
fn default() -> Ipv6CidrBlockAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for Ipv6CidrBlockAssociationBuilder
impl PartialEq for Ipv6CidrBlockAssociationBuilder
source§fn eq(&self, other: &Ipv6CidrBlockAssociationBuilder) -> bool
fn eq(&self, other: &Ipv6CidrBlockAssociationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Ipv6CidrBlockAssociationBuilder
Auto Trait Implementations§
impl Freeze for Ipv6CidrBlockAssociationBuilder
impl RefUnwindSafe for Ipv6CidrBlockAssociationBuilder
impl Send for Ipv6CidrBlockAssociationBuilder
impl Sync for Ipv6CidrBlockAssociationBuilder
impl Unpin for Ipv6CidrBlockAssociationBuilder
impl UnwindSafe for Ipv6CidrBlockAssociationBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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.