Interface AuthenticationConfigurationInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationConfigurationInput.Builder,AuthenticationConfigurationInput>,SdkBuilder<AuthenticationConfigurationInput.Builder,AuthenticationConfigurationInput>,SdkPojo
- Enclosing class:
- AuthenticationConfigurationInput
public static interface AuthenticationConfigurationInput.Builder extends SdkPojo, CopyableBuilder<AuthenticationConfigurationInput.Builder,AuthenticationConfigurationInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuthenticationConfigurationInput.BuilderauthenticationType(String authenticationType)A structure containing the authentication configuration in the CreateConnection request.AuthenticationConfigurationInput.BuilderauthenticationType(AuthenticationType authenticationType)A structure containing the authentication configuration in the CreateConnection request.default AuthenticationConfigurationInput.BuilderbasicAuthenticationCredentials(Consumer<BasicAuthenticationCredentials.Builder> basicAuthenticationCredentials)The credentials used when the authentication type is basic authentication.AuthenticationConfigurationInput.BuilderbasicAuthenticationCredentials(BasicAuthenticationCredentials basicAuthenticationCredentials)The credentials used when the authentication type is basic authentication.AuthenticationConfigurationInput.BuildercustomAuthenticationCredentials(Map<String,String> customAuthenticationCredentials)The credentials used when the authentication type is custom authentication.AuthenticationConfigurationInput.BuilderkmsKeyArn(String kmsKeyArn)The ARN of the KMS key used to encrypt the connection.default AuthenticationConfigurationInput.BuilderoAuth2Properties(Consumer<OAuth2PropertiesInput.Builder> oAuth2Properties)The properties for OAuth2 authentication in the CreateConnection request.AuthenticationConfigurationInput.BuilderoAuth2Properties(OAuth2PropertiesInput oAuth2Properties)The properties for OAuth2 authentication in the CreateConnection request.AuthenticationConfigurationInput.BuildersecretArn(String secretArn)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 Detail
-
authenticationType
AuthenticationConfigurationInput.Builder authenticationType(String 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,AuthenticationType
-
authenticationType
AuthenticationConfigurationInput.Builder authenticationType(AuthenticationType 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,AuthenticationType
-
oAuth2Properties
AuthenticationConfigurationInput.Builder oAuth2Properties(OAuth2PropertiesInput 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.Builderavoiding the need to create one manually viaOAuth2PropertiesInput.builder().When the
Consumercompletes,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:
oAuth2Properties(OAuth2PropertiesInput)
-
secretArn
AuthenticationConfigurationInput.Builder secretArn(String 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
AuthenticationConfigurationInput.Builder kmsKeyArn(String 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.Builderavoiding the need to create one manually viaBasicAuthenticationCredentials.builder().When the
Consumercompletes,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:
basicAuthenticationCredentials(BasicAuthenticationCredentials)
-
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.
-
-