Interface DatabaseSourceAuthenticationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatabaseSourceAuthenticationConfiguration.Builder,,DatabaseSourceAuthenticationConfiguration> SdkBuilder<DatabaseSourceAuthenticationConfiguration.Builder,,DatabaseSourceAuthenticationConfiguration> SdkPojo
- Enclosing class:
DatabaseSourceAuthenticationConfiguration
@Mutable
@NotThreadSafe
public static interface DatabaseSourceAuthenticationConfiguration.Builder
extends SdkPojo, CopyableBuilder<DatabaseSourceAuthenticationConfiguration.Builder,DatabaseSourceAuthenticationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsecretsManagerConfiguration(Consumer<SecretsManagerConfiguration.Builder> secretsManagerConfiguration) Sets the value of the SecretsManagerConfiguration property for this object.secretsManagerConfiguration(SecretsManagerConfiguration secretsManagerConfiguration) Sets the value of the SecretsManagerConfiguration property for this object.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
-
secretsManagerConfiguration
DatabaseSourceAuthenticationConfiguration.Builder secretsManagerConfiguration(SecretsManagerConfiguration secretsManagerConfiguration) Sets the value of the SecretsManagerConfiguration property for this object.- Parameters:
secretsManagerConfiguration- The new value for the SecretsManagerConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretsManagerConfiguration
default DatabaseSourceAuthenticationConfiguration.Builder secretsManagerConfiguration(Consumer<SecretsManagerConfiguration.Builder> secretsManagerConfiguration) Sets the value of the SecretsManagerConfiguration property for this object. This is a convenience method that creates an instance of theSecretsManagerConfiguration.Builderavoiding the need to create one manually viaSecretsManagerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecretsManagerConfiguration(SecretsManagerConfiguration).- Parameters:
secretsManagerConfiguration- a consumer that will call methods onSecretsManagerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-