public static interface DescribeLedgerResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<DescribeLedgerResponse.Builder,DescribeLedgerResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeLedgerResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the ledger.
|
DescribeLedgerResponse.Builder |
creationDateTime(Instant creationDateTime)
The date and time, in epoch time format, when the ledger was created.
|
DescribeLedgerResponse.Builder |
deletionProtection(Boolean deletionProtection)
The flag that prevents a ledger from being deleted by any user.
|
default DescribeLedgerResponse.Builder |
encryptionDescription(Consumer<LedgerEncryptionDescription.Builder> encryptionDescription)
Information about the encryption of data at rest in the ledger.
|
DescribeLedgerResponse.Builder |
encryptionDescription(LedgerEncryptionDescription encryptionDescription)
Information about the encryption of data at rest in the ledger.
|
DescribeLedgerResponse.Builder |
name(String name)
The name of the ledger.
|
DescribeLedgerResponse.Builder |
permissionsMode(PermissionsMode permissionsMode)
The permissions mode of the ledger.
|
DescribeLedgerResponse.Builder |
permissionsMode(String permissionsMode)
The permissions mode of the ledger.
|
DescribeLedgerResponse.Builder |
state(LedgerState state)
The current status of the ledger.
|
DescribeLedgerResponse.Builder |
state(String state)
The current status of the ledger.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeLedgerResponse.Builder name(String name)
The name of the ledger.
name - The name of the ledger.DescribeLedgerResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) for the ledger.
arn - The Amazon Resource Name (ARN) for the ledger.DescribeLedgerResponse.Builder state(String state)
The current status of the ledger.
state - The current status of the ledger.LedgerState,
LedgerStateDescribeLedgerResponse.Builder state(LedgerState state)
The current status of the ledger.
state - The current status of the ledger.LedgerState,
LedgerStateDescribeLedgerResponse.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.)DescribeLedgerResponse.Builder permissionsMode(String permissionsMode)
The permissions mode of the ledger.
permissionsMode - The permissions mode of the ledger.PermissionsMode,
PermissionsModeDescribeLedgerResponse.Builder permissionsMode(PermissionsMode permissionsMode)
The permissions mode of the ledger.
permissionsMode - The permissions mode of the ledger.PermissionsMode,
PermissionsModeDescribeLedgerResponse.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.
DescribeLedgerResponse.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 DescribeLedgerResponse.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 © 2022. All rights reserved.