Struct aws_sdk_appmesh::model::http_timeout::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for HttpTimeout
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn per_request(self, input: Duration) -> Self
pub fn per_request(self, input: Duration) -> Self
An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.
sourcepub fn set_per_request(self, input: Option<Duration>) -> Self
pub fn set_per_request(self, input: Option<Duration>) -> Self
An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.
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) -> HttpTimeout
pub fn build(self) -> HttpTimeout
Consumes the builder and constructs a HttpTimeout
.