Struct aws_sdk_ec2::model::ipv4_prefix_specification::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Ipv4PrefixSpecification
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ipv4_prefix(self, input: impl Into<String>) -> Self
pub fn ipv4_prefix(self, input: impl Into<String>) -> Self
The IPv4 prefix. For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn set_ipv4_prefix(self, input: Option<String>) -> Self
pub fn set_ipv4_prefix(self, input: Option<String>) -> Self
The IPv4 prefix. For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn build(self) -> Ipv4PrefixSpecification
pub fn build(self) -> Ipv4PrefixSpecification
Consumes the builder and constructs a Ipv4PrefixSpecification
.