Interface AuthConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthConfiguration.Builder,,AuthConfiguration> SdkBuilder<AuthConfiguration.Builder,,AuthConfiguration> SdkPojo
- Enclosing class:
AuthConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthConfiguration.BuilderauthenticationType(Consumer<Property.Builder> authenticationType) The type of authentication for a connection.authenticationType(Property authenticationType) The type of authentication for a connection.basicAuthenticationProperties(Map<String, Property> basicAuthenticationProperties) A map of key-value pairs for the OAuth2 properties.customAuthenticationProperties(Map<String, Property> customAuthenticationProperties) A map of key-value pairs for the custom authentication properties.oAuth2Properties(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.The Amazon Resource Name (ARN) for the Secrets Manager.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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.
-