public final class SdkClientOption<T> extends ClientOption<T>
SdkClientConfiguration.AttributeMap.Key.UnsafeValueType| Modifier and Type | Field and Description |
|---|---|
static SdkClientOption<Map<String,List<String>>> |
ADDITIONAL_HTTP_HEADERS |
static SdkClientOption<Duration> |
API_CALL_ATTEMPT_TIMEOUT |
static SdkClientOption<Duration> |
API_CALL_TIMEOUT |
static SdkClientOption<SdkAsyncHttpClient> |
ASYNC_HTTP_CLIENT
The asynchronous HTTP client implementation to make HTTP requests with.
|
static SdkClientOption<AuthSchemeProvider> |
AUTH_SCHEME_PROVIDER
The
AuthSchemeProvider configured on the client. |
static SdkClientOption<Map<String,AuthScheme<?>>> |
AUTH_SCHEMES
The
AuthSchemes configured on the client. |
static SdkClientOption<BusinessMetricCollection> |
BUSINESS_METRICS
A user agent prefix that is specific to the client (agnostic of the request).
|
static SdkClientOption<AttributeMap> |
CLIENT_CONTEXT_PARAMS
The container for any client contexts parameters set on the client.
|
static SdkClientOption<ClientEndpointProvider> |
CLIENT_ENDPOINT_PROVIDER
A provider for the client-level endpoint configuration.
|
static SdkClientOption<ClientType> |
CLIENT_TYPE
The type of client used to make requests.
|
static SdkClientOption<String> |
CLIENT_USER_AGENT
A user agent prefix that is specific to the client (agnostic of the request).
|
static SdkClientOption<CompressionConfiguration> |
COMPRESSION_CONFIGURATION
Option used by the rest of the SDK to read the
CompressionConfiguration. |
static SdkClientOption<SdkAsyncHttpClient> |
CONFIGURED_ASYNC_HTTP_CLIENT
An asynchronous HTTP client set by the customer.
|
static SdkClientOption<SdkAsyncHttpClient.Builder<?>> |
CONFIGURED_ASYNC_HTTP_CLIENT_BUILDER
An asynchronous HTTP client builder set by the customer.
|
static SdkClientOption<CompressionConfiguration> |
CONFIGURED_COMPRESSION_CONFIGURATION
Configuration of the COMPRESSION_CONFIGURATION.
|
static SdkClientOption<Consumer<RetryStrategy.Builder<?,?>>> |
CONFIGURED_RETRY_CONFIGURATOR
The retry strategy builder consumer set by the customer using
ClientOverrideConfiguration.Builder#retryStrategy(Consumer. |
static SdkClientOption<RetryMode> |
CONFIGURED_RETRY_MODE
The retry mode set by the customer using
ClientOverrideConfiguration.Builder.retryStrategy(RetryMode). |
static SdkClientOption<RetryStrategy> |
CONFIGURED_RETRY_STRATEGY
The retry strategy set by the customer using
ClientOverrideConfiguration.Builder.retryStrategy(RetryStrategy). |
static SdkClientOption<ScheduledExecutorService> |
CONFIGURED_SCHEDULED_EXECUTOR_SERVICE
The internal SDK scheduled executor service that is set by the customer.
|
static SdkClientOption<SdkHttpClient> |
CONFIGURED_SYNC_HTTP_CLIENT
An HTTP client set by the customer.
|
static SdkClientOption<SdkHttpClient.Builder<?>> |
CONFIGURED_SYNC_HTTP_CLIENT_BUILDER
An HTTP client builder set by the customer.
|
static SdkClientOption<Boolean> |
CRC32_FROM_COMPRESSED_DATA_ENABLED
Whether to calculate the CRC 32 checksum of a message based on the uncompressed data.
|
static SdkClientOption<RetryMode> |
DEFAULT_RETRY_MODE
Option to specify the default retry mode.
|
static SdkClientOption<URI> |
ENDPOINT
Deprecated.
Use
CLIENT_ENDPOINT_PROVIDER for client-level endpoint configuration, or
ENDPOINT_PROVIDER for deriving the request-level endpoint. |
static SdkClientOption<Boolean> |
ENDPOINT_DISCOVERY_ENABLED
Whether or not endpoint discovery is enabled for this client.
|
static SdkClientOption<Boolean> |
ENDPOINT_OVERRIDDEN
Deprecated.
|
static SdkClientOption<EndpointProvider> |
ENDPOINT_PROVIDER
The
EndpointProvider configured on the client. |
static SdkClientOption<ExecutionAttributes> |
EXECUTION_ATTRIBUTES
Option to specify additional execution attributes to each client call.
|
static SdkClientOption<List<ExecutionInterceptor>> |
EXECUTION_INTERCEPTORS |
static SdkClientOption<AttributeMap> |
HTTP_CLIENT_CONFIG
Configuration that should be used to build the
SYNC_HTTP_CLIENT or ASYNC_HTTP_CLIENT. |
static SdkClientOption<IdentityProviders> |
IDENTITY_PROVIDERS
The IdentityProviders configured on the client.
|
static SdkClientOption<String> |
INTERNAL_USER_AGENT
Option to specify the internal user agent.
|
static SdkClientOption<List<MetricPublisher>> |
METRIC_PUBLISHERS |
static SdkClientOption<ProfileFile> |
PROFILE_FILE
Deprecated.
This option was used to:
- Read configuration options in profile files in aws-core, sdk-core
- Build service configuration objects from profile files in codegen, s3control
- Build service configuration objects from profile files, set endpoint options in s3
- Set retry mode in dynamodb, kinesis
This has been replaced with
PROFILE_FILE_SUPPLIER.get(). |
static SdkClientOption<Supplier<ProfileFile>> |
PROFILE_FILE_SUPPLIER
The profile file supplier to use for this client.
|
static SdkClientOption<String> |
PROFILE_NAME
The profile name to use for this client.
|
static SdkClientOption<RequestChecksumCalculation> |
REQUEST_CHECKSUM_CALCULATION
The request checksum calculation setting.
|
static SdkClientOption<ResponseChecksumValidation> |
RESPONSE_CHECKSUM_VALIDATION
The response checksum validation setting.
|
static SdkClientOption<RetryPolicy> |
RETRY_POLICY |
static SdkClientOption<RetryStrategy> |
RETRY_STRATEGY |
static SdkClientOption<ScheduledExecutorService> |
SCHEDULED_EXECUTOR_SERVICE
The internal SDK scheduled executor service that is used for scheduling tasks such as async retry attempts
and timeout task.
|
static SdkClientOption<SdkClient> |
SDK_CLIENT
Option to specify a reference to the SDK client in use.
|
static SdkClientOption<ServiceConfiguration> |
SERVICE_CONFIGURATION
Service-specific configuration used by some services, like S3.
|
static SdkClientOption<String> |
SERVICE_NAME
Descriptive name for the service.
|
static SdkClientOption<Boolean> |
SIGNER_OVERRIDDEN
Option to specify if the default signer has been overridden on the client.
|
static SdkClientOption<SdkHttpClient> |
SYNC_HTTP_CLIENT
The HTTP client implementation to make HTTP requests with.
|
static SdkClientOption<String> |
USER_AGENT_APP_ID
An optional identification value to be appended to the user agent header.
|
public static final SdkClientOption<Map<String,List<String>>> ADDITIONAL_HTTP_HEADERS
ClientOverrideConfiguration.headers()public static final SdkClientOption<RetryPolicy> RETRY_POLICY
public static final SdkClientOption<RetryStrategy> RETRY_STRATEGY
public static final SdkClientOption<RetryStrategy> CONFIGURED_RETRY_STRATEGY
ClientOverrideConfiguration.Builder.retryStrategy(RetryStrategy). This
is likely only useful within configuration classes, and will be converted into a RETRY_STRATEGY for the SDK's
runtime.ClientOverrideConfiguration.retryMode()public static final SdkClientOption<RetryMode> CONFIGURED_RETRY_MODE
ClientOverrideConfiguration.Builder.retryStrategy(RetryMode). This is
likely only useful within configuration classes, and will be converted into a RETRY_STRATEGY for the SDK's
runtime.ClientOverrideConfiguration.retryMode()public static final SdkClientOption<Consumer<RetryStrategy.Builder<?,?>>> CONFIGURED_RETRY_CONFIGURATOR
ClientOverrideConfiguration.Builder#retryStrategy(Consumer) . This is likely only useful
within configuration classes, and will be converted into a RETRY_STRATEGY for the SDK's runtime.public static final SdkClientOption<List<ExecutionInterceptor>> EXECUTION_INTERCEPTORS
@Deprecated public static final SdkClientOption<URI> ENDPOINT
CLIENT_ENDPOINT_PROVIDER for client-level endpoint configuration, or
ENDPOINT_PROVIDER for deriving the request-level endpoint.@Deprecated public static final SdkClientOption<Boolean> ENDPOINT_OVERRIDDEN
CLIENT_ENDPOINT_PROVIDER's ClientEndpointProvider.isEndpointOverridden().ENDPOINT was a customer
supplied value and not generated by the client based on Region metadata.public static final SdkClientOption<ClientEndpointProvider> CLIENT_ENDPOINT_PROVIDER
ENDPOINT_PROVIDER determines the request-level endpoint configuration.
public static final SdkClientOption<ServiceConfiguration> SERVICE_CONFIGURATION
public static final SdkClientOption<Boolean> CRC32_FROM_COMPRESSED_DATA_ENABLED
public static final SdkClientOption<ScheduledExecutorService> SCHEDULED_EXECUTOR_SERVICE
public static final SdkClientOption<ScheduledExecutorService> CONFIGURED_SCHEDULED_EXECUTOR_SERVICE
SCHEDULED_EXECUTOR_SERVICE for the SDK's runtime.public static final SdkClientOption<SdkAsyncHttpClient> ASYNC_HTTP_CLIENT
public static final SdkClientOption<SdkAsyncHttpClient> CONFIGURED_ASYNC_HTTP_CLIENT
ASYNC_HTTP_CLIENT for the SDK's runtime.public static final SdkClientOption<SdkAsyncHttpClient.Builder<?>> CONFIGURED_ASYNC_HTTP_CLIENT_BUILDER
ASYNC_HTTP_CLIENT for the SDK's runtime.public static final SdkClientOption<SdkHttpClient> SYNC_HTTP_CLIENT
public static final SdkClientOption<SdkHttpClient> CONFIGURED_SYNC_HTTP_CLIENT
SYNC_HTTP_CLIENT for the SDK's runtime.public static final SdkClientOption<SdkHttpClient.Builder<?>> CONFIGURED_SYNC_HTTP_CLIENT_BUILDER
SYNC_HTTP_CLIENT for the SDK's runtime.public static final SdkClientOption<AttributeMap> HTTP_CLIENT_CONFIG
SYNC_HTTP_CLIENT or ASYNC_HTTP_CLIENT.public static final SdkClientOption<ClientType> CLIENT_TYPE
public static final SdkClientOption<Duration> API_CALL_ATTEMPT_TIMEOUT
public static final SdkClientOption<Duration> API_CALL_TIMEOUT
public static final SdkClientOption<String> SERVICE_NAME
public static final SdkClientOption<Boolean> ENDPOINT_DISCOVERY_ENABLED
@Deprecated public static final SdkClientOption<ProfileFile> PROFILE_FILE
PROFILE_FILE_SUPPLIER.get().public static final SdkClientOption<Supplier<ProfileFile>> PROFILE_FILE_SUPPLIER
public static final SdkClientOption<String> PROFILE_NAME
public static final SdkClientOption<List<MetricPublisher>> METRIC_PUBLISHERS
public static final SdkClientOption<Boolean> SIGNER_OVERRIDDEN
public static final SdkClientOption<ExecutionAttributes> EXECUTION_ATTRIBUTES
public static final SdkClientOption<String> INTERNAL_USER_AGENT
public static final SdkClientOption<String> CLIENT_USER_AGENT
SdkClientUserAgentPropertiespublic static final SdkClientOption<BusinessMetricCollection> BUSINESS_METRICS
SdkClientUserAgentPropertiespublic static final SdkClientOption<RetryMode> DEFAULT_RETRY_MODE
RetryMode.Resolver#defaultRetryMode(RetryMode)public static final SdkClientOption<EndpointProvider> ENDPOINT_PROVIDER
EndpointProvider configured on the client.public static final SdkClientOption<AuthSchemeProvider> AUTH_SCHEME_PROVIDER
AuthSchemeProvider configured on the client.public static final SdkClientOption<Map<String,AuthScheme<?>>> AUTH_SCHEMES
AuthSchemes configured on the client.public static final SdkClientOption<IdentityProviders> IDENTITY_PROVIDERS
public static final SdkClientOption<AttributeMap> CLIENT_CONTEXT_PARAMS
public static final SdkClientOption<CompressionConfiguration> CONFIGURED_COMPRESSION_CONFIGURATION
COMPRESSION_CONFIGURATION, this may contain null values.public static final SdkClientOption<CompressionConfiguration> COMPRESSION_CONFIGURATION
CompressionConfiguration. This will never contain null values.public static final SdkClientOption<RequestChecksumCalculation> REQUEST_CHECKSUM_CALCULATION
public static final SdkClientOption<ResponseChecksumValidation> RESPONSE_CHECKSUM_VALIDATION
public static final SdkClientOption<String> USER_AGENT_APP_ID
Users can additionally supply the appId value through environment and JVM settings, and it will be resolved using the following order of precedence (highest first):
AWS_SDK_UA_APP_ID environment variablesdk.ua.appId JVM system propertysdk_ua_app_id setting in the profile file for the active profile
This configuration option supersedes SdkAdvancedClientOption.USER_AGENT_PREFIX and
SdkAdvancedClientOption.USER_AGENT_SUFFIX and should be used instead of those options.
public static final SdkClientOption<SdkClient> SDK_CLIENT
Copyright © 2026. All rights reserved.