Struct aws_sdk_networkfirewall::model::port_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PortRange
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn from_port(self, input: i32) -> Self
pub fn from_port(self, input: i32) -> Self
The lower limit of the port range. This must be less than or equal to the ToPort
specification.
sourcepub fn set_from_port(self, input: Option<i32>) -> Self
pub fn set_from_port(self, input: Option<i32>) -> Self
The lower limit of the port range. This must be less than or equal to the ToPort
specification.
sourcepub fn to_port(self, input: i32) -> Self
pub fn to_port(self, input: i32) -> Self
The upper limit of the port range. This must be greater than or equal to the FromPort
specification.
sourcepub fn set_to_port(self, input: Option<i32>) -> Self
pub fn set_to_port(self, input: Option<i32>) -> Self
The upper limit of the port range. This must be greater than or equal to the FromPort
specification.