@Generated(value="software.amazon.awssdk:codegen") public final class UpdateLedgerResponse extends QldbResponse implements ToCopyableBuilder<UpdateLedgerResponse.Builder,UpdateLedgerResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateLedgerResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) for the ledger.
|
static UpdateLedgerResponse.Builder |
builder() |
Instant |
creationDateTime()
The date and time, in epoch time format, when the ledger was created.
|
Boolean |
deletionProtection()
The flag that prevents a ledger from being deleted by any user.
|
LedgerEncryptionDescription |
encryptionDescription()
Information about the encryption of data at rest in the ledger.
|
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 UpdateLedgerResponse.Builder> |
serializableBuilderClass() |
LedgerState |
state()
The current status of the ledger.
|
String |
stateAsString()
The current status of the ledger.
|
UpdateLedgerResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the ledger.
public final String arn()
The Amazon Resource Name (ARN) for the ledger.
public final LedgerState state()
The current status of the ledger.
If the service returns an enum value that is not available in the current SDK version, state will return
LedgerState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
LedgerStatepublic final String stateAsString()
The current status of the ledger.
If the service returns an enum value that is not available in the current SDK version, state will return
LedgerState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
LedgerStatepublic final Instant creationDateTime()
The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
public final 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. You can disable it
by calling the UpdateLedger operation to set the flag to false.
true) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger. You can
disable it by calling the UpdateLedger operation to set the flag to false.
public final LedgerEncryptionDescription encryptionDescription()
Information about the encryption of data at rest in the ledger. This includes the current status, the KMS key, and when the key became inaccessible (in the case of an error).
public UpdateLedgerResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateLedgerResponse.Builder,UpdateLedgerResponse>toBuilder in class AwsResponsepublic static UpdateLedgerResponse.Builder builder()
public static Class<? extends UpdateLedgerResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.