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 CIDR range. You can either specify a CIDR range 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 CIDR range. You can either specify a CIDR range 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 ._-:/()#,@[]+=&;{}!$*
Trait Implementations§
source§impl Clone for Ipv6RangeBuilder
impl Clone for Ipv6RangeBuilder
source§fn clone(&self) -> Ipv6RangeBuilder
fn clone(&self) -> Ipv6RangeBuilder
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 Ipv6RangeBuilder
impl Debug for Ipv6RangeBuilder
source§impl Default for Ipv6RangeBuilder
impl Default for Ipv6RangeBuilder
source§fn default() -> Ipv6RangeBuilder
fn default() -> Ipv6RangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<Ipv6RangeBuilder> for Ipv6RangeBuilder
impl PartialEq<Ipv6RangeBuilder> for Ipv6RangeBuilder
source§fn eq(&self, other: &Ipv6RangeBuilder) -> bool
fn eq(&self, other: &Ipv6RangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ipv6RangeBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more