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 get_cidr_ipv6(&self) -> &Option<String>
pub fn get_cidr_ipv6(&self) -> &Option<String>
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 ._-:/()#,@[]+=&;{}!$*
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<Ipv6RangeBuilder> for Ipv6RangeBuilder
impl PartialEq<Ipv6RangeBuilder> 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 ==
.