public static interface UpdateLedgerRequest.Builder extends QldbRequest.Builder, SdkPojo, CopyableBuilder<UpdateLedgerRequest.Builder,UpdateLedgerRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateLedgerRequest.Builder |
deletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user.
|
UpdateLedgerRequest.Builder |
name(String name)
The name of the ledger.
|
UpdateLedgerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateLedgerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateLedgerRequest.Builder name(String name)
The name of the ledger.
name - The name of the ledger.UpdateLedgerRequest.Builder deletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this
feature is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB
API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false. The QLDB console disables deletion protection for you when
you use it to delete a ledger.
deletionProtection - The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation,
this feature is enabled (true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using
the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the
UpdateLedger operation to set the flag to false. The QLDB console disables
deletion protection for you when you use it to delete a ledger.
UpdateLedgerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateLedgerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.