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 interfaceAwsRequestOverrideConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsRequestOverrideConfiguration.Builderbuilder()Optional<IdentityProvider<? extends AwsCredentialsIdentity>>credentialsIdentityProvider()The optionalIdentityProviderthat will provide credentials to be used to authenticate this request.Optional<AwsCredentialsProvider>credentialsProvider()The optionalAwsCredentialsProviderthat will provide credentials to be used to authenticate this request.booleanequals(Object o)static AwsRequestOverrideConfigurationfrom(RequestOverrideConfiguration configuration)Create aAwsRequestOverrideConfigurationfrom the providedRequestOverrideConfiguration.inthashCode()AwsRequestOverrideConfiguration.BuildertoBuilder()Optional<IdentityProvider<? extends TokenIdentity>>tokenIdentityProvider()The optionalIdentityProviderthat will provide a token identity to be used to authenticate this request.-
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 aAwsRequestOverrideConfigurationfrom the providedRequestOverrideConfiguration. Given null, this will return null. Given aAwsRequestOverrideConfigurationthis will return the input. Given any otherRequestOverrideConfigurationthis will return a newAwsRequestOverrideConfigurationwith all the common attributes from the input copied into the result.
-
credentialsProvider
public Optional<AwsCredentialsProvider> credentialsProvider()
The optionalAwsCredentialsProviderthat will provide credentials to be used to authenticate this request.- Returns:
- The optional
AwsCredentialsProvider.
-
credentialsIdentityProvider
public Optional<IdentityProvider<? extends AwsCredentialsIdentity>> credentialsIdentityProvider()
The optionalIdentityProviderthat will provide credentials to be used to authenticate this request.- Returns:
- The optional
IdentityProvider.
-
tokenIdentityProvider
public Optional<IdentityProvider<? extends TokenIdentity>> tokenIdentityProvider()
The optionalIdentityProviderthat will provide a token identity to be used to authenticate this request.- Returns:
- The optional
IdentityProvider.
-
toBuilder
public AwsRequestOverrideConfiguration.Builder toBuilder()
- Specified by:
toBuilderin classRequestOverrideConfiguration
-
builder
public static AwsRequestOverrideConfiguration.Builder builder()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classRequestOverrideConfiguration
-
hashCode
public int hashCode()
- Overrides:
hashCodein classRequestOverrideConfiguration
-
-