public final class ClientOverrideConfiguration extends Object implements ToCopyableBuilder<ClientOverrideConfiguration.Builder,ClientOverrideConfiguration>
Use builder()
to create a set of options.
Modifier and Type | Class and Description |
---|---|
static interface |
ClientOverrideConfiguration.Builder
A builder for
ClientOverrideConfiguration . |
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
advancedOption(SdkAdvancedClientOption<T> option)
Load the optional requested advanced option that was configured on the client builder.
|
static ClientOverrideConfiguration.Builder |
builder()
Create a
ClientOverrideConfiguration.Builder , used to create a ClientOverrideConfiguration . |
List<ExecutionInterceptor> |
executionInterceptors()
An immutable collection of
ExecutionInterceptor s that should be hooked into the execution of each request, in the
order that they should be applied. |
Map<String,List<String>> |
headers()
An unmodifiable representation of the set of HTTP headers that should be sent with every request.
|
Optional<RetryPolicy> |
retryPolicy()
The optional retry policy that should be used when handling failure cases.
|
ClientOverrideConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public ClientOverrideConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ClientOverrideConfiguration.Builder,ClientOverrideConfiguration>
public static ClientOverrideConfiguration.Builder builder()
ClientOverrideConfiguration.Builder
, used to create a ClientOverrideConfiguration
.public Map<String,List<String>> headers()
If not set, this will return an empty map.
public Optional<RetryPolicy> retryPolicy()
public <T> Optional<T> advancedOption(SdkAdvancedClientOption<T> option)
public List<ExecutionInterceptor> executionInterceptors()
ExecutionInterceptor
s that should be hooked into the execution of each request, in the
order that they should be applied.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.