public static interface DeleteSecretRequest.Builder extends SecretsManagerRequest.Builder, CopyableBuilder<DeleteSecretRequest.Builder,DeleteSecretRequest>
Modifier and Type | Method and Description |
---|---|
DeleteSecretRequest.Builder |
recoveryWindowInDays(Long recoveryWindowInDays)
(Optional) Specifies the number of days that Secrets Manager waits before it can delete the secret.
|
DeleteSecretRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DeleteSecretRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteSecretRequest.Builder |
secretId(String secretId)
Specifies the secret that you want to delete.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DeleteSecretRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.