Package software.amazon.awssdk.awscore
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 newSdkRequestOverrideConfiguration
with the properties set on this builder.Return the optionalAwsCredentialsProvider
that will provide credentials to be used to authenticate this request.credentialsProvider
(AwsCredentialsProvider credentialsProvider) Set the optionalAwsCredentialsProvider
that 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.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, signer
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
credentialsProvider
default AwsRequestOverrideConfiguration.Builder credentialsProvider(AwsCredentialsProvider credentialsProvider) Set the optionalAwsCredentialsProvider
that 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 optionalAwsCredentialsProvider
that will provide credentials to be used to authenticate this request.- Returns:
- The optional
AwsCredentialsProvider
.
-
build
AwsRequestOverrideConfiguration build()Description copied from interface:RequestOverrideConfiguration.Builder
Create a newSdkRequestOverrideConfiguration
with the properties set on this builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceRequestOverrideConfiguration.Builder<AwsRequestOverrideConfiguration.Builder>
- Specified by:
build
in interfaceSdkBuilder<AwsRequestOverrideConfiguration.Builder,
AwsRequestOverrideConfiguration> - Returns:
- The new
SdkRequestOverrideConfiguration
.
-