public static interface DeleteSecretRequest.Builder extends SecretsManagerRequest.Builder, CopyableBuilder<DeleteSecretRequest.Builder,DeleteSecretRequest>
Modifier and Type | Method and Description |
---|---|
DeleteSecretRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DeleteSecretRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteSecretRequest.Builder |
recoveryWindowInDays(Long recoveryWindowInDays)
(Optional) Specifies the number of days that Secrets Manager waits before it can delete the secret.
|
DeleteSecretRequest.Builder |
secretId(String secretId)
Specifies the secret that you want to delete.
|
build
overrideConfiguration
copy
applyMutation, build
DeleteSecretRequest.Builder secretId(String secretId)
Specifies the secret that you want to delete. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
secretId
- Specifies the secret that you want to delete. You can specify either the Amazon Resource Name (ARN) or
the friendly name of the secret.DeleteSecretRequest.Builder recoveryWindowInDays(Long recoveryWindowInDays)
(Optional) Specifies the number of days that Secrets Manager waits before it can delete the secret.
This value can range from 7 to 30 days. The default value is 30.
recoveryWindowInDays
- (Optional) Specifies the number of days that Secrets Manager waits before it can delete the
secret.
This value can range from 7 to 30 days. The default value is 30.
DeleteSecretRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DeleteSecretRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.