Class AwsSdk2TransportOptions.DefaultImpl
- All Implemented Interfaces:
AwsSdk2TransportOptions,TransportOptions
- Enclosing interface:
AwsSdk2TransportOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.transport.aws.AwsSdk2TransportOptions
AwsSdk2TransportOptions.Builder, AwsSdk2TransportOptions.BuilderImpl, AwsSdk2TransportOptions.DefaultImplNested classes/interfaces inherited from interface org.opensearch.client.transport.TransportOptions
TransportOptions.Builder, TransportOptions.BuilderImpl, TransportOptions.DefaultImpl -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.auth.credentials.AwsCredentialsProviderGet the credentials provider to user for signing requests.mapper()Get mapper used for serializing and deserializing requests and responses.Get the maximum size for uncompressed requests.Get the response compression enable/disable value.Get the clock used for signing requests.Methods inherited from class org.opensearch.client.transport.TransportOptions.DefaultImpl
headers, onWarnings, queryParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.transport.TransportOptions
headers, onWarnings, queryParameters, with
-
Method Details
-
credentials
public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentials()Description copied from interface:AwsSdk2TransportOptionsGet the credentials provider to user for signing requests.If this is null, then a default provider will be used -- either a provider specified in a more general
AwsSdk2TransportOptionsthat applies to the request, or the default credential chain if there is none.- Specified by:
credentialsin interfaceAwsSdk2TransportOptions- Returns:
- A credentials provider or null
-
requestCompressionSize
Description copied from interface:AwsSdk2TransportOptionsGet the maximum size for uncompressed requests. Requests larger than this size will be sent with Content-Encoding: gzip.If this is null, then a default will be used -- either a value specified in a more general
AwsSdk2TransportOptionsthat applies to the request, or a reasonable default if there is none.If this is Integer.MAX_VALUE, then requests will not be compressed. If this is 0, then all non-empty request bodies will be compressed.
- Specified by:
requestCompressionSizein interfaceAwsSdk2TransportOptions- Returns:
- An integer size limit or null
-
responseCompression
Description copied from interface:AwsSdk2TransportOptionsGet the response compression enable/disable value. If this is true, then an Accept-Encoding: gzip header will be sent with the request. The server will decide whether or not to compress its responses.If this is null, then a default will be used -- either a value specified in a more general
AwsSdk2TransportOptionsthat applies to the request, orBoolean.TRUEif there is none.- Specified by:
responseCompressionin interfaceAwsSdk2TransportOptions- Returns:
- response compression enable/disable flag, or null
-
mapper
Description copied from interface:AwsSdk2TransportOptionsGet mapper used for serializing and deserializing requests and responses.If this is null, then a default will be used -- either a value specified in a more general
AwsSdk2TransportOptionsthat applies to the request, or a newJacksonJsonpMapperor equivalent if there is none.- Specified by:
mapperin interfaceAwsSdk2TransportOptions- Returns:
- A mapper or null
-
signingClock
Description copied from interface:AwsSdk2TransportOptionsGet the clock used for signing requests.If this is null, then a default will be used -- either a value specified in a more general
AwsSdk2TransportOptionsthat applies to the request, orClock.systemUTC()if there is none.- Specified by:
signingClockin interfaceAwsSdk2TransportOptions- Returns:
- A clock or null
-
toBuilder
- Specified by:
toBuilderin interfaceAwsSdk2TransportOptions- Specified by:
toBuilderin interfaceTransportOptions- Overrides:
toBuilderin classTransportOptions.DefaultImpl
-