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.
|
default UpdateLedgerResponse.Builder |
encryptionDescription(Consumer<LedgerEncryptionDescription.Builder> encryptionDescription)
Information about the encryption of data at rest in the ledger.
|
UpdateLedgerResponse.Builder |
encryptionDescription(LedgerEncryptionDescription encryptionDescription)
Information about the encryption of data at rest in the ledger.
|
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.
UpdateLedgerResponse.Builder encryptionDescription(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).
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).default UpdateLedgerResponse.Builder encryptionDescription(Consumer<LedgerEncryptionDescription.Builder> 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).
This is a convenience method that creates an instance of theLedgerEncryptionDescription.Builder
avoiding the need to create one manually via LedgerEncryptionDescription.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to encryptionDescription(LedgerEncryptionDescription).
encryptionDescription - a consumer that will call methods on LedgerEncryptionDescription.BuilderencryptionDescription(LedgerEncryptionDescription)Copyright © 2023. All rights reserved.