@Generated(value="software.amazon.awssdk:codegen") public final class UpdateLedgerRequest extends QldbRequest implements ToCopyableBuilder<UpdateLedgerRequest.Builder,UpdateLedgerRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateLedgerRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateLedgerRequest.Builder |
builder() |
Boolean |
deletionProtection()
The flag that prevents a ledger from being deleted by any user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the ledger.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateLedgerRequest.Builder> |
serializableBuilderClass() |
UpdateLedgerRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the ledger.
public 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.
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.
public UpdateLedgerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateLedgerRequest.Builder,UpdateLedgerRequest>toBuilder in class QldbRequestpublic static UpdateLedgerRequest.Builder builder()
public static Class<? extends UpdateLedgerRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.