public static interface AuthorizationConfig.Builder extends SdkPojo, CopyableBuilder<AuthorizationConfig.Builder,AuthorizationConfig>
Modifier and Type | Method and Description |
---|---|
AuthorizationConfig.Builder |
authorizationType(AuthorizationType authorizationType)
The authorization type required by the HTTP endpoint.
|
AuthorizationConfig.Builder |
authorizationType(String authorizationType)
The authorization type required by the HTTP endpoint.
|
AuthorizationConfig.Builder |
awsIamConfig(AwsIamConfig awsIamConfig)
The AWS IAM settings.
|
default AuthorizationConfig.Builder |
awsIamConfig(Consumer<AwsIamConfig.Builder> awsIamConfig)
The AWS IAM settings.
|
copy
applyMutation, build
AuthorizationConfig.Builder authorizationType(String authorizationType)
The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
authorizationType
- The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
AuthorizationType
,
AuthorizationType
AuthorizationConfig.Builder authorizationType(AuthorizationType authorizationType)
The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
authorizationType
- The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
AuthorizationType
,
AuthorizationType
AuthorizationConfig.Builder awsIamConfig(AwsIamConfig awsIamConfig)
The AWS IAM settings.
awsIamConfig
- The AWS IAM settings.default AuthorizationConfig.Builder awsIamConfig(Consumer<AwsIamConfig.Builder> awsIamConfig)
The AWS IAM settings.
This is a convenience that creates an instance of theAwsIamConfig.Builder
avoiding the need to
create one manually via AwsIamConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to awsIamConfig(AwsIamConfig)
.awsIamConfig
- a consumer that will call methods on AwsIamConfig.Builder
awsIamConfig(AwsIamConfig)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.