Class DescribeLedgerResponse

    • Method Detail

      • name

        public final String name()

        The name of the ledger.

        Returns:
        The name of the ledger.
      • arn

        public final String arn()

        The Amazon Resource Name (ARN) for the ledger.

        Returns:
        The Amazon Resource Name (ARN) for the ledger.
      • state

        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().

        Returns:
        The current status of the ledger.
        See Also:
        LedgerState
      • stateAsString

        public 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().

        Returns:
        The current status of the ledger.
        See Also:
        LedgerState
      • creationDateTime

        public 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.)

        Returns:
        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.)
      • deletionProtection

        public final Boolean deletionProtection()

        Specifies whether the ledger is protected from being deleted by any user. If not defined during 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 this parameter to false.

        Returns:
        Specifies whether the ledger is protected from being deleted by any user. If not defined during 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 this parameter to false.

      • encryptionDescription

        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). If this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key for encryption.

        Returns:
        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). If this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key for encryption.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object