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