pub struct Builder { /* private fields */ }
Expand description
A builder for TrafficMirrorPortRangeRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn from_port(self, input: i32) -> Self
pub fn from_port(self, input: i32) -> Self
The first port in 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 first port in 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 last port in 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 last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.
sourcepub fn build(self) -> TrafficMirrorPortRangeRequest
pub fn build(self) -> TrafficMirrorPortRangeRequest
Consumes the builder and constructs a TrafficMirrorPortRangeRequest
.