Struct aws_sdk_ec2::types::builders::Ipv6RangeBuilder
source · #[non_exhaustive]pub struct Ipv6RangeBuilder { /* private fields */ }
Expand description
A builder for Ipv6Range
.
Implementations§
source§impl Ipv6RangeBuilder
impl Ipv6RangeBuilder
sourcepub fn cidr_ipv6(self, input: impl Into<String>) -> Self
pub fn cidr_ipv6(self, input: impl Into<String>) -> Self
The IPv6 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
sourcepub fn set_cidr_ipv6(self, input: Option<String>) -> Self
pub fn set_cidr_ipv6(self, input: Option<String>) -> Self
The IPv6 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
sourcepub fn get_cidr_ipv6(&self) -> &Option<String>
pub fn get_cidr_ipv6(&self) -> &Option<String>
The IPv6 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the security group rule that references this IPv6 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@\[\]+=&;{}!$*
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the security group rule that references this IPv6 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@\[\]+=&;{}!$*
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the security group rule that references this IPv6 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@\[\]+=&;{}!$*
Trait Implementations§
source§impl Clone for Ipv6RangeBuilder
impl Clone for Ipv6RangeBuilder
source§fn clone(&self) -> Ipv6RangeBuilder
fn clone(&self) -> Ipv6RangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ipv6RangeBuilder
impl Debug for Ipv6RangeBuilder
source§impl Default for Ipv6RangeBuilder
impl Default for Ipv6RangeBuilder
source§fn default() -> Ipv6RangeBuilder
fn default() -> Ipv6RangeBuilder
source§impl PartialEq for Ipv6RangeBuilder
impl PartialEq for Ipv6RangeBuilder
source§fn eq(&self, other: &Ipv6RangeBuilder) -> bool
fn eq(&self, other: &Ipv6RangeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ipv6RangeBuilder
Auto Trait Implementations§
impl Freeze for Ipv6RangeBuilder
impl RefUnwindSafe for Ipv6RangeBuilder
impl Send for Ipv6RangeBuilder
impl Sync for Ipv6RangeBuilder
impl Unpin for Ipv6RangeBuilder
impl UnwindSafe for Ipv6RangeBuilder
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
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>
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>
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 more