Interface S3CrtHttpConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<S3CrtHttpConfiguration.Builder,,- S3CrtHttpConfiguration> - SdkBuilder<S3CrtHttpConfiguration.Builder,- S3CrtHttpConfiguration> 
- Enclosing class:
- S3CrtHttpConfiguration
public static interface S3CrtHttpConfiguration.Builder
extends CopyableBuilder<S3CrtHttpConfiguration.Builder,S3CrtHttpConfiguration> 
- 
Method SummaryModifier and TypeMethodDescriptionbuild()An immutable object that is created from the properties that have been set on the builder.connectionHealthConfiguration(Consumer<S3CrtConnectionHealthConfiguration.Builder> configurationBuilder) A convenience method that creates an instance of theS3CrtConnectionHealthConfigurationbuilder, avoiding the need to create one manually viaS3CrtConnectionHealthConfiguration.builder().connectionHealthConfiguration(S3CrtConnectionHealthConfiguration healthConfiguration) Configure the health checks for all connections established by this client.connectionTimeout(Duration connectionTimeout) The amount of time to wait when initially establishing a connection before giving up and timing out.proxyConfiguration(Consumer<S3CrtProxyConfiguration.Builder> configurationBuilder) A convenience method that creates an instance of theS3CrtProxyConfigurationbuilder, avoiding the need to create one manually viaS3CrtProxyConfiguration.builder().proxyConfiguration(S3CrtProxyConfiguration proxyConfiguration) Sets the http proxy configuration to use for this client.trustAllCertificatesEnabled(Boolean trustAllCertificatesEnabled) Option to disable SSL cert validation and SSL host name verification.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation
- 
Method Details- 
connectionTimeoutThe amount of time to wait when initially establishing a connection before giving up and timing out.- Parameters:
- connectionTimeout- timeout
- Returns:
- The builder of the method chaining.
 
- 
trustAllCertificatesEnabledOption to disable SSL cert validation and SSL host name verification. This turns off x.509 validation. By default, this option is off. Only enable this option for testing purposes. - Parameters:
- trustAllCertificatesEnabled- True if SSL cert validation is disabled.
- Returns:
- The builder of the method chaining.
 
- 
proxyConfigurationSets the http proxy configuration to use for this client.- Parameters:
- proxyConfiguration- The http proxy configuration to use
- Returns:
- The builder of the method chaining.
 
- 
proxyConfigurationS3CrtHttpConfiguration.Builder proxyConfiguration(Consumer<S3CrtProxyConfiguration.Builder> configurationBuilder) A convenience method that creates an instance of theS3CrtProxyConfigurationbuilder, avoiding the need to create one manually viaS3CrtProxyConfiguration.builder().- Parameters:
- configurationBuilder- The config builder to use
- Returns:
- The builder of the method chaining.
- See Also:
 
- 
connectionHealthConfigurationS3CrtHttpConfiguration.Builder connectionHealthConfiguration(S3CrtConnectionHealthConfiguration healthConfiguration) Configure the health checks for all connections established by this client.You can set a throughput threshold for a connection to be considered healthy. If a connection falls below this threshold ( CrtConnectionHealthConfiguration.minimumThroughputInBps()) for the configurable amount of time (CrtConnectionHealthConfiguration.minimumThroughputTimeout()), then the connection is considered unhealthy and will be shut down.- Parameters:
- healthConfiguration- The health checks config to use
- Returns:
- The builder of the method chaining.
 
- 
connectionHealthConfigurationS3CrtHttpConfiguration.Builder connectionHealthConfiguration(Consumer<S3CrtConnectionHealthConfiguration.Builder> configurationBuilder) A convenience method that creates an instance of theS3CrtConnectionHealthConfigurationbuilder, avoiding the need to create one manually viaS3CrtConnectionHealthConfiguration.builder().- Parameters:
- configurationBuilder- The health checks config builder to use
- Returns:
- The builder of the method chaining.
- See Also:
 
- 
buildS3CrtHttpConfiguration build()Description copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
- buildin interface- Buildable
- Specified by:
- buildin interface- SdkBuilder<S3CrtHttpConfiguration.Builder,- S3CrtHttpConfiguration> 
- Returns:
- an instance of T
 
 
-