Interface AuthenticationConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationConfiguration.Builder,AuthenticationConfiguration>,SdkBuilder<AuthenticationConfiguration.Builder,AuthenticationConfiguration>,SdkPojo
- Enclosing class:
- AuthenticationConfiguration
public static interface AuthenticationConfiguration.Builder extends SdkPojo, CopyableBuilder<AuthenticationConfiguration.Builder,AuthenticationConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuthenticationConfiguration.BuilderauthenticationType(String authenticationType)The authentication type of a connection.AuthenticationConfiguration.BuilderauthenticationType(AuthenticationType authenticationType)The authentication type of a connection.default AuthenticationConfiguration.BuilderoAuth2Properties(Consumer<OAuth2Properties.Builder> oAuth2Properties)The oAuth2 properties of a connection.AuthenticationConfiguration.BuilderoAuth2Properties(OAuth2Properties oAuth2Properties)The oAuth2 properties of a connection.AuthenticationConfiguration.BuildersecretArn(String secretArn)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 Detail
-
authenticationType
AuthenticationConfiguration.Builder authenticationType(String 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,AuthenticationType
-
authenticationType
AuthenticationConfiguration.Builder authenticationType(AuthenticationType 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,AuthenticationType
-
oAuth2Properties
AuthenticationConfiguration.Builder oAuth2Properties(OAuth2Properties 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.Builderavoiding the need to create one manually viaOAuth2Properties.builder().When the
Consumercompletes,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:
oAuth2Properties(OAuth2Properties)
-
secretArn
AuthenticationConfiguration.Builder secretArn(String 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.
-
-