Struct aws_sdk_ec2::model::ip_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for IpRange
.
Implementations§
source§impl Builder
impl Builder
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 ._-:/()#,@[]+=&;{}!$*