Interface AdminPasswordSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdminPasswordSourceConfiguration.Builder,,AdminPasswordSourceConfiguration> SdkBuilder<AdminPasswordSourceConfiguration.Builder,,AdminPasswordSourceConfiguration> SdkPojo
- Enclosing class:
AdminPasswordSourceConfiguration
@Mutable
@NotThreadSafe
public static interface AdminPasswordSourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<AdminPasswordSourceConfiguration.Builder,AdminPasswordSourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerManagedAwsSecret(Consumer<CustomerManagedAwsSecretConfiguration.Builder> customerManagedAwsSecret) The configuration for a customer-managed Amazon Web Services Secrets Manager secret used as the admin password source.customerManagedAwsSecret(CustomerManagedAwsSecretConfiguration customerManagedAwsSecret) The configuration for a customer-managed Amazon Web Services Secrets Manager secret used as the admin password source.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
-
customerManagedAwsSecret
AdminPasswordSourceConfiguration.Builder customerManagedAwsSecret(CustomerManagedAwsSecretConfiguration customerManagedAwsSecret) The configuration for a customer-managed Amazon Web Services Secrets Manager secret used as the admin password source.
- Parameters:
customerManagedAwsSecret- The configuration for a customer-managed Amazon Web Services Secrets Manager secret used as the admin password source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerManagedAwsSecret
default AdminPasswordSourceConfiguration.Builder customerManagedAwsSecret(Consumer<CustomerManagedAwsSecretConfiguration.Builder> customerManagedAwsSecret) The configuration for a customer-managed Amazon Web Services Secrets Manager secret used as the admin password source.
This is a convenience method that creates an instance of theCustomerManagedAwsSecretConfiguration.Builderavoiding the need to create one manually viaCustomerManagedAwsSecretConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerManagedAwsSecret(CustomerManagedAwsSecretConfiguration).- Parameters:
customerManagedAwsSecret- a consumer that will call methods onCustomerManagedAwsSecretConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-