Struct aws_sdk_ec2::types::builders::IpRangeBuilder
source · #[non_exhaustive]pub struct IpRangeBuilder { /* private fields */ }
Expand description
A builder for IpRange
.
Implementations§
source§impl IpRangeBuilder
impl IpRangeBuilder
sourcepub fn cidr_ip(self, input: impl Into<String>) -> Self
pub fn cidr_ip(self, input: impl Into<String>) -> Self
The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.
sourcepub fn set_cidr_ip(self, input: Option<String>) -> Self
pub fn set_cidr_ip(self, input: Option<String>) -> Self
The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 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 IPv4 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 IPv4 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 IpRangeBuilder
impl Clone for IpRangeBuilder
source§fn clone(&self) -> IpRangeBuilder
fn clone(&self) -> IpRangeBuilder
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 IpRangeBuilder
impl Debug for IpRangeBuilder
source§impl Default for IpRangeBuilder
impl Default for IpRangeBuilder
source§fn default() -> IpRangeBuilder
fn default() -> IpRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<IpRangeBuilder> for IpRangeBuilder
impl PartialEq<IpRangeBuilder> for IpRangeBuilder
source§fn eq(&self, other: &IpRangeBuilder) -> bool
fn eq(&self, other: &IpRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IpRangeBuilder
impl Send for IpRangeBuilder
impl Sync for IpRangeBuilder
impl Unpin for IpRangeBuilder
impl UnwindSafe for IpRangeBuilder
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