Package software.amazon.awssdk.awscore
Class AwsRequestOverrideConfiguration
- java.lang.Object
-
- software.amazon.awssdk.core.RequestOverrideConfiguration
-
- software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration
-
public final class AwsRequestOverrideConfiguration extends RequestOverrideConfiguration
Request-specific configuration overrides for AWS service clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AwsRequestOverrideConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsRequestOverrideConfiguration.Builder
builder()
Optional<IdentityProvider<? extends AwsCredentialsIdentity>>
credentialsIdentityProvider()
The optionalIdentityProvider
that will provide credentials to be used to authenticate this request.Optional<AwsCredentialsProvider>
credentialsProvider()
The optionalAwsCredentialsProvider
that will provide credentials to be used to authenticate this request.boolean
equals(Object o)
static AwsRequestOverrideConfiguration
from(RequestOverrideConfiguration configuration)
Create aAwsRequestOverrideConfiguration
from the providedRequestOverrideConfiguration
.int
hashCode()
AwsRequestOverrideConfiguration.Builder
toBuilder()
-
Methods inherited from class software.amazon.awssdk.core.RequestOverrideConfiguration
apiCallAttemptTimeout, apiCallTimeout, apiNames, compressionConfiguration, endpointProvider, executionAttributes, headers, metricPublishers, plugins, rawQueryParameters, signer
-
-
-
-
Method Detail
-
from
public static AwsRequestOverrideConfiguration from(RequestOverrideConfiguration configuration)
Create aAwsRequestOverrideConfiguration
from the providedRequestOverrideConfiguration
. Given null, this will return null. Given aAwsRequestOverrideConfiguration
this will return the input. Given any otherRequestOverrideConfiguration
this will return a newAwsRequestOverrideConfiguration
with all the common attributes from the input copied into the result.
-
credentialsProvider
public Optional<AwsCredentialsProvider> credentialsProvider()
The optionalAwsCredentialsProvider
that will provide credentials to be used to authenticate this request.- Returns:
- The optional
AwsCredentialsProvider
.
-
credentialsIdentityProvider
public Optional<IdentityProvider<? extends AwsCredentialsIdentity>> credentialsIdentityProvider()
The optionalIdentityProvider
that will provide credentials to be used to authenticate this request.- Returns:
- The optional
IdentityProvider
.
-
toBuilder
public AwsRequestOverrideConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in classRequestOverrideConfiguration
-
builder
public static AwsRequestOverrideConfiguration.Builder builder()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classRequestOverrideConfiguration
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRequestOverrideConfiguration
-
-