pub struct Builder { /* private fields */ }
Expand description
A builder for ConnectionSettings
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn idle_timeout(self, input: i32) -> Self
pub fn idle_timeout(self, input: i32) -> Self
The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
sourcepub fn set_idle_timeout(self, input: Option<i32>) -> Self
pub fn set_idle_timeout(self, input: Option<i32>) -> Self
The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
sourcepub fn build(self) -> ConnectionSettings
pub fn build(self) -> ConnectionSettings
Consumes the builder and constructs a ConnectionSettings
.