#[non_exhaustive]pub struct ConnectionTrackingSpecificationBuilder { /* private fields */ }
Expand description
A builder for ConnectionTrackingSpecification
.
Implementations§
source§impl ConnectionTrackingSpecificationBuilder
impl ConnectionTrackingSpecificationBuilder
sourcepub fn tcp_established_timeout(self, input: i32) -> Self
pub fn tcp_established_timeout(self, input: i32) -> Self
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
sourcepub fn set_tcp_established_timeout(self, input: Option<i32>) -> Self
pub fn set_tcp_established_timeout(self, input: Option<i32>) -> Self
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
sourcepub fn get_tcp_established_timeout(&self) -> &Option<i32>
pub fn get_tcp_established_timeout(&self) -> &Option<i32>
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
sourcepub fn udp_timeout(self, input: i32) -> Self
pub fn udp_timeout(self, input: i32) -> Self
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
sourcepub fn set_udp_timeout(self, input: Option<i32>) -> Self
pub fn set_udp_timeout(self, input: Option<i32>) -> Self
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
sourcepub fn get_udp_timeout(&self) -> &Option<i32>
pub fn get_udp_timeout(&self) -> &Option<i32>
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
sourcepub fn udp_stream_timeout(self, input: i32) -> Self
pub fn udp_stream_timeout(self, input: i32) -> Self
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
sourcepub fn set_udp_stream_timeout(self, input: Option<i32>) -> Self
pub fn set_udp_stream_timeout(self, input: Option<i32>) -> Self
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
sourcepub fn get_udp_stream_timeout(&self) -> &Option<i32>
pub fn get_udp_stream_timeout(&self) -> &Option<i32>
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
sourcepub fn build(self) -> ConnectionTrackingSpecification
pub fn build(self) -> ConnectionTrackingSpecification
Consumes the builder and constructs a ConnectionTrackingSpecification
.
Trait Implementations§
source§impl Clone for ConnectionTrackingSpecificationBuilder
impl Clone for ConnectionTrackingSpecificationBuilder
source§fn clone(&self) -> ConnectionTrackingSpecificationBuilder
fn clone(&self) -> ConnectionTrackingSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConnectionTrackingSpecificationBuilder
impl Default for ConnectionTrackingSpecificationBuilder
source§fn default() -> ConnectionTrackingSpecificationBuilder
fn default() -> ConnectionTrackingSpecificationBuilder
source§impl PartialEq for ConnectionTrackingSpecificationBuilder
impl PartialEq for ConnectionTrackingSpecificationBuilder
source§fn eq(&self, other: &ConnectionTrackingSpecificationBuilder) -> bool
fn eq(&self, other: &ConnectionTrackingSpecificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionTrackingSpecificationBuilder
Auto Trait Implementations§
impl Freeze for ConnectionTrackingSpecificationBuilder
impl RefUnwindSafe for ConnectionTrackingSpecificationBuilder
impl Send for ConnectionTrackingSpecificationBuilder
impl Sync for ConnectionTrackingSpecificationBuilder
impl Unpin for ConnectionTrackingSpecificationBuilder
impl UnwindSafe for ConnectionTrackingSpecificationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more