Interface AuthenticationMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthenticationMetadata.Builder,
,AuthenticationMetadata> SdkBuilder<AuthenticationMetadata.Builder,
,AuthenticationMetadata> SdkPojo
- Enclosing class:
AuthenticationMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthenticationMetadata.Builder
apiKeyConnectionMetadata
(Consumer<APIKeyConnectionMetadata.Builder> apiKeyConnectionMetadata) API key authentication metadata.apiKeyConnectionMetadata
(APIKeyConnectionMetadata apiKeyConnectionMetadata) API key authentication metadata.default AuthenticationMetadata.Builder
authorizationCodeGrantMetadata
(Consumer<AuthorizationCodeGrantMetadata.Builder> authorizationCodeGrantMetadata) OAuth 2.0 authorization code grant authentication metadata.authorizationCodeGrantMetadata
(AuthorizationCodeGrantMetadata authorizationCodeGrantMetadata) OAuth 2.0 authorization code grant authentication metadata.default AuthenticationMetadata.Builder
basicAuthConnectionMetadata
(Consumer<BasicAuthConnectionMetadata.Builder> basicAuthConnectionMetadata) Basic authentication metadata using username and password.basicAuthConnectionMetadata
(BasicAuthConnectionMetadata basicAuthConnectionMetadata) Basic authentication metadata using username and password.default AuthenticationMetadata.Builder
clientCredentialsGrantMetadata
(Consumer<ClientCredentialsGrantMetadata.Builder> clientCredentialsGrantMetadata) OAuth 2.0 client credentials grant authentication metadata.clientCredentialsGrantMetadata
(ClientCredentialsGrantMetadata clientCredentialsGrantMetadata) OAuth 2.0 client credentials grant authentication metadata.default AuthenticationMetadata.Builder
iamConnectionMetadata
(Consumer<IAMConnectionMetadata.Builder> iamConnectionMetadata) IAM role-based authentication metadata for Amazon Web Services services.iamConnectionMetadata
(IAMConnectionMetadata iamConnectionMetadata) IAM role-based authentication metadata for Amazon Web Services services.default AuthenticationMetadata.Builder
noneConnectionMetadata
(Consumer<NoneConnectionMetadata.Builder> noneConnectionMetadata) No authentication metadata for services that don't require authentication.noneConnectionMetadata
(NoneConnectionMetadata noneConnectionMetadata) No authentication metadata for services that don't require authentication.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
authorizationCodeGrantMetadata
AuthenticationMetadata.Builder authorizationCodeGrantMetadata(AuthorizationCodeGrantMetadata authorizationCodeGrantMetadata) OAuth 2.0 authorization code grant authentication metadata.
- Parameters:
authorizationCodeGrantMetadata
- OAuth 2.0 authorization code grant authentication metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeGrantMetadata
default AuthenticationMetadata.Builder authorizationCodeGrantMetadata(Consumer<AuthorizationCodeGrantMetadata.Builder> authorizationCodeGrantMetadata) OAuth 2.0 authorization code grant authentication metadata.
This is a convenience method that creates an instance of theAuthorizationCodeGrantMetadata.Builder
avoiding the need to create one manually viaAuthorizationCodeGrantMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorizationCodeGrantMetadata(AuthorizationCodeGrantMetadata)
.- Parameters:
authorizationCodeGrantMetadata
- a consumer that will call methods onAuthorizationCodeGrantMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsGrantMetadata
AuthenticationMetadata.Builder clientCredentialsGrantMetadata(ClientCredentialsGrantMetadata clientCredentialsGrantMetadata) OAuth 2.0 client credentials grant authentication metadata.
- Parameters:
clientCredentialsGrantMetadata
- OAuth 2.0 client credentials grant authentication metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCredentialsGrantMetadata
default AuthenticationMetadata.Builder clientCredentialsGrantMetadata(Consumer<ClientCredentialsGrantMetadata.Builder> clientCredentialsGrantMetadata) OAuth 2.0 client credentials grant authentication metadata.
This is a convenience method that creates an instance of theClientCredentialsGrantMetadata.Builder
avoiding the need to create one manually viaClientCredentialsGrantMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientCredentialsGrantMetadata(ClientCredentialsGrantMetadata)
.- Parameters:
clientCredentialsGrantMetadata
- a consumer that will call methods onClientCredentialsGrantMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
basicAuthConnectionMetadata
AuthenticationMetadata.Builder basicAuthConnectionMetadata(BasicAuthConnectionMetadata basicAuthConnectionMetadata) Basic authentication metadata using username and password.
- Parameters:
basicAuthConnectionMetadata
- Basic authentication metadata using username and password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthConnectionMetadata
default AuthenticationMetadata.Builder basicAuthConnectionMetadata(Consumer<BasicAuthConnectionMetadata.Builder> basicAuthConnectionMetadata) Basic authentication metadata using username and password.
This is a convenience method that creates an instance of theBasicAuthConnectionMetadata.Builder
avoiding the need to create one manually viaBasicAuthConnectionMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobasicAuthConnectionMetadata(BasicAuthConnectionMetadata)
.- Parameters:
basicAuthConnectionMetadata
- a consumer that will call methods onBasicAuthConnectionMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKeyConnectionMetadata
AuthenticationMetadata.Builder apiKeyConnectionMetadata(APIKeyConnectionMetadata apiKeyConnectionMetadata) API key authentication metadata.
- Parameters:
apiKeyConnectionMetadata
- API key authentication metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeyConnectionMetadata
default AuthenticationMetadata.Builder apiKeyConnectionMetadata(Consumer<APIKeyConnectionMetadata.Builder> apiKeyConnectionMetadata) API key authentication metadata.
This is a convenience method that creates an instance of theAPIKeyConnectionMetadata.Builder
avoiding the need to create one manually viaAPIKeyConnectionMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiKeyConnectionMetadata(APIKeyConnectionMetadata)
.- Parameters:
apiKeyConnectionMetadata
- a consumer that will call methods onAPIKeyConnectionMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noneConnectionMetadata
AuthenticationMetadata.Builder noneConnectionMetadata(NoneConnectionMetadata noneConnectionMetadata) No authentication metadata for services that don't require authentication.
- Parameters:
noneConnectionMetadata
- No authentication metadata for services that don't require authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noneConnectionMetadata
default AuthenticationMetadata.Builder noneConnectionMetadata(Consumer<NoneConnectionMetadata.Builder> noneConnectionMetadata) No authentication metadata for services that don't require authentication.
This is a convenience method that creates an instance of theNoneConnectionMetadata.Builder
avoiding the need to create one manually viaNoneConnectionMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tononeConnectionMetadata(NoneConnectionMetadata)
.- Parameters:
noneConnectionMetadata
- a consumer that will call methods onNoneConnectionMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamConnectionMetadata
IAM role-based authentication metadata for Amazon Web Services services.
- Parameters:
iamConnectionMetadata
- IAM role-based authentication metadata for Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamConnectionMetadata
default AuthenticationMetadata.Builder iamConnectionMetadata(Consumer<IAMConnectionMetadata.Builder> iamConnectionMetadata) IAM role-based authentication metadata for Amazon Web Services services.
This is a convenience method that creates an instance of theIAMConnectionMetadata.Builder
avoiding the need to create one manually viaIAMConnectionMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiamConnectionMetadata(IAMConnectionMetadata)
.- Parameters:
iamConnectionMetadata
- a consumer that will call methods onIAMConnectionMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-