Interface AuthenticationConfigurationInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthenticationConfigurationInput.Builder,
,AuthenticationConfigurationInput> SdkBuilder<AuthenticationConfigurationInput.Builder,
,AuthenticationConfigurationInput> SdkPojo
- Enclosing class:
AuthenticationConfigurationInput
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationType
(String authenticationType) A structure containing the authentication configuration in the CreateConnection request.authenticationType
(AuthenticationType authenticationType) A structure containing the authentication configuration in the CreateConnection request.basicAuthenticationCredentials
(Consumer<BasicAuthenticationCredentials.Builder> basicAuthenticationCredentials) The credentials used when the authentication type is basic authentication.basicAuthenticationCredentials
(BasicAuthenticationCredentials basicAuthenticationCredentials) The credentials used when the authentication type is basic authentication.customAuthenticationCredentials
(Map<String, String> customAuthenticationCredentials) The credentials used when the authentication type is custom authentication.The ARN of the KMS key used to encrypt the connection.oAuth2Properties
(Consumer<OAuth2PropertiesInput.Builder> oAuth2Properties) The properties for OAuth2 authentication in the CreateConnection request.oAuth2Properties
(OAuth2PropertiesInput oAuth2Properties) The properties for OAuth2 authentication in the CreateConnection request.The secret manager ARN to store credentials in the CreateConnection request.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
-
authenticationType
A structure containing the authentication configuration in the CreateConnection request.
- Parameters:
authenticationType
- A structure containing the authentication configuration in the CreateConnection request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
A structure containing the authentication configuration in the CreateConnection request.
- Parameters:
authenticationType
- A structure containing the authentication configuration in the CreateConnection request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2Properties
The properties for OAuth2 authentication in the CreateConnection request.
- Parameters:
oAuth2Properties
- The properties for OAuth2 authentication in the CreateConnection request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Properties
default AuthenticationConfigurationInput.Builder oAuth2Properties(Consumer<OAuth2PropertiesInput.Builder> oAuth2Properties) The properties for OAuth2 authentication in the CreateConnection request.
This is a convenience method that creates an instance of theOAuth2PropertiesInput.Builder
avoiding the need to create one manually viaOAuth2PropertiesInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuth2Properties(OAuth2PropertiesInput)
.- Parameters:
oAuth2Properties
- a consumer that will call methods onOAuth2PropertiesInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretArn
The secret manager ARN to store credentials in the CreateConnection request.
- Parameters:
secretArn
- The secret manager ARN to store credentials in the CreateConnection request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The ARN of the KMS key used to encrypt the connection. Only taken an as input in the request and stored in the Secret Manager.
- Parameters:
kmsKeyArn
- The ARN of the KMS key used to encrypt the connection. Only taken an as input in the request and stored in the Secret Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthenticationCredentials
AuthenticationConfigurationInput.Builder basicAuthenticationCredentials(BasicAuthenticationCredentials basicAuthenticationCredentials) The credentials used when the authentication type is basic authentication.
- Parameters:
basicAuthenticationCredentials
- The credentials used when the authentication type is basic authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthenticationCredentials
default AuthenticationConfigurationInput.Builder basicAuthenticationCredentials(Consumer<BasicAuthenticationCredentials.Builder> basicAuthenticationCredentials) The credentials used when the authentication type is basic authentication.
This is a convenience method that creates an instance of theBasicAuthenticationCredentials.Builder
avoiding the need to create one manually viaBasicAuthenticationCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobasicAuthenticationCredentials(BasicAuthenticationCredentials)
.- Parameters:
basicAuthenticationCredentials
- a consumer that will call methods onBasicAuthenticationCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customAuthenticationCredentials
AuthenticationConfigurationInput.Builder customAuthenticationCredentials(Map<String, String> customAuthenticationCredentials) The credentials used when the authentication type is custom authentication.
- Parameters:
customAuthenticationCredentials
- The credentials used when the authentication type is custom authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-