Interface AuthenticationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthenticationConfiguration.Builder,
,AuthenticationConfiguration> SdkBuilder<AuthenticationConfiguration.Builder,
,AuthenticationConfiguration> SdkPojo
- Enclosing class:
AuthenticationConfiguration
@Mutable
@NotThreadSafe
public static interface AuthenticationConfiguration.Builder
extends SdkPojo, CopyableBuilder<AuthenticationConfiguration.Builder,AuthenticationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationType
(String authenticationType) The authentication type of a connection.authenticationType
(AuthenticationType authenticationType) The authentication type of a connection.oAuth2Properties
(Consumer<OAuth2Properties.Builder> oAuth2Properties) The oAuth2 properties of a connection.oAuth2Properties
(OAuth2Properties oAuth2Properties) The oAuth2 properties of a connection.The secret ARN of a connection.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
The authentication type of a connection.
- Parameters:
authenticationType
- The authentication type of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The authentication type of a connection.
- Parameters:
authenticationType
- The authentication type of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2Properties
The oAuth2 properties of a connection.
- Parameters:
oAuth2Properties
- The oAuth2 properties of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Properties
default AuthenticationConfiguration.Builder oAuth2Properties(Consumer<OAuth2Properties.Builder> oAuth2Properties) The oAuth2 properties of a connection.
This is a convenience method that creates an instance of theOAuth2Properties.Builder
avoiding the need to create one manually viaOAuth2Properties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuth2Properties(OAuth2Properties)
.- Parameters:
oAuth2Properties
- a consumer that will call methods onOAuth2Properties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretArn
The secret ARN of a connection.
- Parameters:
secretArn
- The secret ARN of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-