Interface TimeoutConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TimeoutConfiguration.Builder,,TimeoutConfiguration> SdkBuilder<TimeoutConfiguration.Builder,,TimeoutConfiguration> SdkPojo
- Enclosing class:
TimeoutConfiguration
@Mutable
@NotThreadSafe
public static interface TimeoutConfiguration.Builder
extends SdkPojo, CopyableBuilder<TimeoutConfiguration.Builder,TimeoutConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionidleTimeoutSeconds(Integer idleTimeoutSeconds) The amount of time in seconds a connection will stay active while idle.perRequestTimeoutSeconds(Integer perRequestTimeoutSeconds) The amount of time waiting for the upstream to respond with a complete response per request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
idleTimeoutSeconds
The amount of time in seconds a connection will stay active while idle. A value of
0can be set to disableidleTimeout.The
idleTimeoutdefault forHTTP/HTTP2/GRPCis 5 minutes.The
idleTimeoutdefault forTCPis 1 hour.- Parameters:
idleTimeoutSeconds- The amount of time in seconds a connection will stay active while idle. A value of0can be set to disableidleTimeout.The
idleTimeoutdefault forHTTP/HTTP2/GRPCis 5 minutes.The
idleTimeoutdefault forTCPis 1 hour.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perRequestTimeoutSeconds
The amount of time waiting for the upstream to respond with a complete response per request. A value of
0can be set to disableperRequestTimeout.perRequestTimeoutcan only be set if Service ConnectappProtocolisn'tTCP. OnlyidleTimeoutis allowed forTCPappProtocol.- Parameters:
perRequestTimeoutSeconds- The amount of time waiting for the upstream to respond with a complete response per request. A value of0can be set to disableperRequestTimeout.perRequestTimeoutcan only be set if Service ConnectappProtocolisn'tTCP. OnlyidleTimeoutis allowed forTCPappProtocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-