Struct aws_sdk_ec2::model::traffic_mirror_port_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TrafficMirrorPortRange
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn from_port(self, input: i32) -> Self
pub fn from_port(self, input: i32) -> Self
The start of the Traffic Mirror port range. This applies to the TCP and UDP protocols.
sourcepub fn set_from_port(self, input: Option<i32>) -> Self
pub fn set_from_port(self, input: Option<i32>) -> Self
The start of the Traffic Mirror port range. This applies to the TCP and UDP protocols.
sourcepub fn to_port(self, input: i32) -> Self
pub fn to_port(self, input: i32) -> Self
The end of the Traffic Mirror port range. This applies to the TCP and UDP protocols.
sourcepub fn set_to_port(self, input: Option<i32>) -> Self
pub fn set_to_port(self, input: Option<i32>) -> Self
The end of the Traffic Mirror port range. This applies to the TCP and UDP protocols.
sourcepub fn build(self) -> TrafficMirrorPortRange
pub fn build(self) -> TrafficMirrorPortRange
Consumes the builder and constructs a TrafficMirrorPortRange
.