Interface AwsRequestOverrideConfiguration.Builder
- All Superinterfaces:
Buildable,RequestOverrideConfiguration.Builder<AwsRequestOverrideConfiguration.Builder>,SdkBuilder<AwsRequestOverrideConfiguration.Builder,AwsRequestOverrideConfiguration>
- Enclosing class:
AwsRequestOverrideConfiguration
public static interface AwsRequestOverrideConfiguration.Builder
extends RequestOverrideConfiguration.Builder<AwsRequestOverrideConfiguration.Builder>, SdkBuilder<AwsRequestOverrideConfiguration.Builder,AwsRequestOverrideConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Create a newSdkRequestOverrideConfigurationwith the properties set on this builder.Return the optionalAwsCredentialsProviderthat will provide credentials to be used to authenticate this request.credentialsProvider(AwsCredentialsProvider credentialsProvider) Set the optionalAwsCredentialsProviderthat will provide credentials to be used to authenticate this request.credentialsProvider(IdentityProvider<? extends AwsCredentialsIdentity> credentialsProvider) Set the optionalIdentityProvider<? extends AwsCredentialsIdentity>that will provide credentials to be used to authenticate this request.tokenIdentityProvider(IdentityProvider<? extends TokenIdentity> tokenIdentityProvider) Set the optionalIdentityProvider<? extends TokenIdentity>that will provide a token identity to be used to authenticate this request.Methods inherited from interface software.amazon.awssdk.core.RequestOverrideConfiguration.Builder
addApiName, addApiName, addMetricPublisher, addPlugin, apiCallAttemptTimeout, apiCallAttemptTimeout, apiCallTimeout, apiCallTimeout, apiNames, compressionConfiguration, compressionConfiguration, compressionConfiguration, endpointProvider, endpointProvider, executionAttributes, executionAttributes, headers, headers, metricPublishers, metricPublishers, plugins, plugins, putExecutionAttribute, putHeader, putHeader, putRawQueryParameter, putRawQueryParameter, rawQueryParameters, rawQueryParameters, signer, signerMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
credentialsProvider
default AwsRequestOverrideConfiguration.Builder credentialsProvider(AwsCredentialsProvider credentialsProvider) Set the optionalAwsCredentialsProviderthat will provide credentials to be used to authenticate this request.- Parameters:
credentialsProvider- TheAwsCredentialsProvider.- Returns:
- This object for chaining.
-
credentialsProvider
default AwsRequestOverrideConfiguration.Builder credentialsProvider(IdentityProvider<? extends AwsCredentialsIdentity> credentialsProvider) Set the optionalIdentityProvider<? extends AwsCredentialsIdentity>that will provide credentials to be used to authenticate this request.- Parameters:
credentialsProvider- TheIdentityProvider<? extends AwsCredentialsIdentity>.- Returns:
- This object for chaining.
-
credentialsProvider
AwsCredentialsProvider credentialsProvider()Return the optionalAwsCredentialsProviderthat will provide credentials to be used to authenticate this request.- Returns:
- The optional
AwsCredentialsProvider.
-
tokenIdentityProvider
default AwsRequestOverrideConfiguration.Builder tokenIdentityProvider(IdentityProvider<? extends TokenIdentity> tokenIdentityProvider) Set the optionalIdentityProvider<? extends TokenIdentity>that will provide a token identity to be used to authenticate this request.- Parameters:
tokenIdentityProvider- TheIdentityProvider<? extends TokenIdentity>.- Returns:
- This object for chaining.
-
build
AwsRequestOverrideConfiguration build()Description copied from interface:RequestOverrideConfiguration.BuilderCreate a newSdkRequestOverrideConfigurationwith the properties set on this builder.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceRequestOverrideConfiguration.Builder<AwsRequestOverrideConfiguration.Builder>- Specified by:
buildin interfaceSdkBuilder<AwsRequestOverrideConfiguration.Builder,AwsRequestOverrideConfiguration> - Returns:
- The new
SdkRequestOverrideConfiguration.
-