Package software.amazon.awssdk.crtcore
Interface CrtConnectionHealthConfiguration.Builder
- All Known Subinterfaces:
 ConnectionHealthConfiguration.Builder,S3CrtConnectionHealthConfiguration.Builder
- Enclosing class:
 CrtConnectionHealthConfiguration
public static interface CrtConnectionHealthConfiguration.Builder
A builder for 
CrtConnectionHealthConfiguration.
 All implementations of this interface are mutable and not thread safe.
- 
Method Summary
Modifier and TypeMethodDescriptionbuild()minimumThroughputInBps(Long minimumThroughputInBps) Sets a throughput threshold for connections.minimumThroughputTimeout(Duration minimumThroughputTimeout) Sets how long a connection is allowed to be unhealthy before getting shut down. 
- 
Method Details
- 
minimumThroughputInBps
Sets a throughput threshold for connections. Throughput below this value will be considered unhealthy.- Parameters:
 minimumThroughputInBps- minimum amount of throughput, in bytes per second, for a connection to be considered healthy.- Returns:
 - Builder
 
 - 
minimumThroughputTimeout
CrtConnectionHealthConfiguration.Builder minimumThroughputTimeout(Duration minimumThroughputTimeout) Sets how long a connection is allowed to be unhealthy before getting shut down.It only supports seconds precision
- Parameters:
 minimumThroughputTimeout- How long a connection is allowed to be unhealthy before getting shut down.- Returns:
 - Builder
 
 - 
build
CrtConnectionHealthConfiguration build() 
 -