Interface SourceAuthenticationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceAuthenticationConfiguration.Builder,,SourceAuthenticationConfiguration> SdkBuilder<SourceAuthenticationConfiguration.Builder,,SourceAuthenticationConfiguration> SdkPojo
- Enclosing class:
SourceAuthenticationConfiguration
@Mutable
@NotThreadSafe
public static interface SourceAuthenticationConfiguration.Builder
extends SdkPojo, CopyableBuilder<SourceAuthenticationConfiguration.Builder,SourceAuthenticationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsecretManagerConfig(Consumer<SecretManagerAuthConfig.Builder> secretManagerConfig) The Secrets Manager configuration used for authenticating with the source during migration.secretManagerConfig(SecretManagerAuthConfig secretManagerConfig) The Secrets Manager configuration used for authenticating with the source during migration.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
-
secretManagerConfig
SourceAuthenticationConfiguration.Builder secretManagerConfig(SecretManagerAuthConfig secretManagerConfig) The Secrets Manager configuration used for authenticating with the source during migration.
- Parameters:
secretManagerConfig- The Secrets Manager configuration used for authenticating with the source during migration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretManagerConfig
default SourceAuthenticationConfiguration.Builder secretManagerConfig(Consumer<SecretManagerAuthConfig.Builder> secretManagerConfig) The Secrets Manager configuration used for authenticating with the source during migration.
This is a convenience method that creates an instance of theSecretManagerAuthConfig.Builderavoiding the need to create one manually viaSecretManagerAuthConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecretManagerConfig(SecretManagerAuthConfig).- Parameters:
secretManagerConfig- a consumer that will call methods onSecretManagerAuthConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-