Struct aws_sdk_appmesh::model::tcp_timeout::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TcpTimeout
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn idle(self, input: Duration) -> Self
pub fn idle(self, input: Duration) -> Self
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
sourcepub fn set_idle(self, input: Option<Duration>) -> Self
pub fn set_idle(self, input: Option<Duration>) -> Self
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
sourcepub fn build(self) -> TcpTimeout
pub fn build(self) -> TcpTimeout
Consumes the builder and constructs a TcpTimeout
.