Struct aws_sdk_ecs::types::builders::TimeoutConfigurationBuilder
source · #[non_exhaustive]pub struct TimeoutConfigurationBuilder { /* private fields */ }Expand description
A builder for TimeoutConfiguration.
Implementations§
source§impl TimeoutConfigurationBuilder
impl TimeoutConfigurationBuilder
sourcepub fn idle_timeout_seconds(self, input: i32) -> Self
pub fn idle_timeout_seconds(self, input: i32) -> Self
The amount of time in seconds a connection will stay active while idle. A value of 0 can be set to disable idleTimeout.
The idleTimeout default for HTTP/HTTP2/GRPC is 5 minutes.
The idleTimeout default for TCP is 1 hour.
sourcepub fn set_idle_timeout_seconds(self, input: Option<i32>) -> Self
pub fn set_idle_timeout_seconds(self, input: Option<i32>) -> Self
The amount of time in seconds a connection will stay active while idle. A value of 0 can be set to disable idleTimeout.
The idleTimeout default for HTTP/HTTP2/GRPC is 5 minutes.
The idleTimeout default for TCP is 1 hour.
sourcepub fn get_idle_timeout_seconds(&self) -> &Option<i32>
pub fn get_idle_timeout_seconds(&self) -> &Option<i32>
The amount of time in seconds a connection will stay active while idle. A value of 0 can be set to disable idleTimeout.
The idleTimeout default for HTTP/HTTP2/GRPC is 5 minutes.
The idleTimeout default for TCP is 1 hour.
sourcepub fn per_request_timeout_seconds(self, input: i32) -> Self
pub fn per_request_timeout_seconds(self, input: i32) -> Self
The amount of time waiting for the upstream to respond with a complete response per request. A value of 0 can be set to disable perRequestTimeout. perRequestTimeout can only be set if Service Connect appProtocol isn't TCP. Only idleTimeout is allowed for TCP appProtocol.
sourcepub fn set_per_request_timeout_seconds(self, input: Option<i32>) -> Self
pub fn set_per_request_timeout_seconds(self, input: Option<i32>) -> Self
The amount of time waiting for the upstream to respond with a complete response per request. A value of 0 can be set to disable perRequestTimeout. perRequestTimeout can only be set if Service Connect appProtocol isn't TCP. Only idleTimeout is allowed for TCP appProtocol.
sourcepub fn get_per_request_timeout_seconds(&self) -> &Option<i32>
pub fn get_per_request_timeout_seconds(&self) -> &Option<i32>
The amount of time waiting for the upstream to respond with a complete response per request. A value of 0 can be set to disable perRequestTimeout. perRequestTimeout can only be set if Service Connect appProtocol isn't TCP. Only idleTimeout is allowed for TCP appProtocol.
sourcepub fn build(self) -> TimeoutConfiguration
pub fn build(self) -> TimeoutConfiguration
Consumes the builder and constructs a TimeoutConfiguration.
Trait Implementations§
source§impl Clone for TimeoutConfigurationBuilder
impl Clone for TimeoutConfigurationBuilder
source§fn clone(&self) -> TimeoutConfigurationBuilder
fn clone(&self) -> TimeoutConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TimeoutConfigurationBuilder
impl Debug for TimeoutConfigurationBuilder
source§impl Default for TimeoutConfigurationBuilder
impl Default for TimeoutConfigurationBuilder
source§fn default() -> TimeoutConfigurationBuilder
fn default() -> TimeoutConfigurationBuilder
impl StructuralPartialEq for TimeoutConfigurationBuilder
Auto Trait Implementations§
impl Freeze for TimeoutConfigurationBuilder
impl RefUnwindSafe for TimeoutConfigurationBuilder
impl Send for TimeoutConfigurationBuilder
impl Sync for TimeoutConfigurationBuilder
impl Unpin for TimeoutConfigurationBuilder
impl UnwindSafe for TimeoutConfigurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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