Interface AuthConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AuthConfiguration.Builder,AuthConfiguration>,SdkBuilder<AuthConfiguration.Builder,AuthConfiguration>,SdkPojo
- Enclosing class:
- AuthConfiguration
public static interface AuthConfiguration.Builder extends SdkPojo, CopyableBuilder<AuthConfiguration.Builder,AuthConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AuthConfiguration.BuilderauthenticationType(Consumer<Property.Builder> authenticationType)The type of authentication for a connection.AuthConfiguration.BuilderauthenticationType(Property authenticationType)The type of authentication for a connection.AuthConfiguration.BuilderbasicAuthenticationProperties(Map<String,Property> basicAuthenticationProperties)A map of key-value pairs for the OAuth2 properties.AuthConfiguration.BuildercustomAuthenticationProperties(Map<String,Property> customAuthenticationProperties)A map of key-value pairs for the custom authentication properties.AuthConfiguration.BuilderoAuth2Properties(Map<String,Property> oAuth2Properties)A map of key-value pairs for the OAuth2 properties.default AuthConfiguration.BuildersecretArn(Consumer<Property.Builder> secretArn)The Amazon Resource Name (ARN) for the Secrets Manager.AuthConfiguration.BuildersecretArn(Property secretArn)The Amazon Resource Name (ARN) for the Secrets Manager.-
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
AuthConfiguration.Builder authenticationType(Property authenticationType)
The type of authentication for a connection.
- Parameters:
authenticationType- The type of authentication for a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationType
default AuthConfiguration.Builder authenticationType(Consumer<Property.Builder> authenticationType)
The type of authentication for a connection.
This is a convenience method that creates an instance of theProperty.Builderavoiding the need to create one manually viaProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthenticationType(Property).- Parameters:
authenticationType- a consumer that will call methods onProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authenticationType(Property)
-
secretArn
AuthConfiguration.Builder secretArn(Property secretArn)
The Amazon Resource Name (ARN) for the Secrets Manager.
- Parameters:
secretArn- The Amazon Resource Name (ARN) for the Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
default AuthConfiguration.Builder secretArn(Consumer<Property.Builder> secretArn)
The Amazon Resource Name (ARN) for the Secrets Manager.
This is a convenience method that creates an instance of theProperty.Builderavoiding the need to create one manually viaProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecretArn(Property).- Parameters:
secretArn- a consumer that will call methods onProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
secretArn(Property)
-
oAuth2Properties
AuthConfiguration.Builder oAuth2Properties(Map<String,Property> oAuth2Properties)
A map of key-value pairs for the OAuth2 properties. Each value is a a
Propertyobject.- Parameters:
oAuth2Properties- A map of key-value pairs for the OAuth2 properties. Each value is a aPropertyobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthenticationProperties
AuthConfiguration.Builder basicAuthenticationProperties(Map<String,Property> basicAuthenticationProperties)
A map of key-value pairs for the OAuth2 properties. Each value is a a
Propertyobject.- Parameters:
basicAuthenticationProperties- A map of key-value pairs for the OAuth2 properties. Each value is a aPropertyobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAuthenticationProperties
AuthConfiguration.Builder customAuthenticationProperties(Map<String,Property> customAuthenticationProperties)
A map of key-value pairs for the custom authentication properties. Each value is a a
Propertyobject.- Parameters:
customAuthenticationProperties- A map of key-value pairs for the custom authentication properties. Each value is a aPropertyobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-