Interface AuthenticationMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationMetadata.Builder,,AuthenticationMetadata> SdkBuilder<AuthenticationMetadata.Builder,,AuthenticationMetadata> SdkPojo
- Enclosing class:
AuthenticationMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthenticationMetadata.BuilderapiKeyConnectionMetadata(Consumer<APIKeyConnectionMetadata.Builder> apiKeyConnectionMetadata) API key authentication metadata.apiKeyConnectionMetadata(APIKeyConnectionMetadata apiKeyConnectionMetadata) API key authentication metadata.default AuthenticationMetadata.BuilderauthorizationCodeGrantMetadata(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.BuilderbasicAuthConnectionMetadata(Consumer<BasicAuthConnectionMetadata.Builder> basicAuthConnectionMetadata) Basic authentication metadata using username and password.basicAuthConnectionMetadata(BasicAuthConnectionMetadata basicAuthConnectionMetadata) Basic authentication metadata using username and password.default AuthenticationMetadata.BuilderclientCredentialsGrantMetadata(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.BuilderiamConnectionMetadata(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.BuildernoneConnectionMetadata(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaAuthorizationCodeGrantMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaClientCredentialsGrantMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaBasicAuthConnectionMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAPIKeyConnectionMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNoneConnectionMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaIAMConnectionMetadata.builder().When the
Consumercompletes,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:
-