public static interface UpdateLedgerResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<UpdateLedgerResponse.Builder,UpdateLedgerResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateLedgerResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the ledger.
|
UpdateLedgerResponse.Builder |
creationDateTime(Instant creationDateTime)
The date and time, in epoch time format, when the ledger was created.
|
UpdateLedgerResponse.Builder |
deletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user.
|
UpdateLedgerResponse.Builder |
name(String name)
The name of the ledger.
|
UpdateLedgerResponse.Builder |
state(LedgerState state)
The current status of the ledger.
|
UpdateLedgerResponse.Builder |
state(String state)
The current status of the ledger.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateLedgerResponse.Builder name(String name)
The name of the ledger.
name - The name of the ledger.UpdateLedgerResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) for the ledger.
arn - The Amazon Resource Name (ARN) for the ledger.UpdateLedgerResponse.Builder state(String state)
The current status of the ledger.
state - The current status of the ledger.LedgerState,
LedgerStateUpdateLedgerResponse.Builder state(LedgerState state)
The current status of the ledger.
state - The current status of the ledger.LedgerState,
LedgerStateUpdateLedgerResponse.Builder creationDateTime(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.)
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.)UpdateLedgerResponse.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. You can
disable it by calling the UpdateLedger operation to set the flag to false.
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.
Copyright © 2021. All rights reserved.