Class Database

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Name that uniquely identifies this database.

        Returns:
        The Amazon Resource Name that uniquely identifies this database.
      • databaseName

        public final String databaseName()

        The name of the Timestream database.

        Returns:
        The name of the Timestream database.
      • tableCount

        public final Long tableCount()

        The total number of tables found within a Timestream database.

        Returns:
        The total number of tables found within a Timestream database.
      • kmsKeyId

        public final String kmsKeyId()

        The identifier of the KMS key used to encrypt the data stored in the database.

        Returns:
        The identifier of the KMS key used to encrypt the data stored in the database.
      • creationTime

        public final Instant creationTime()

        The time when the database was created, calculated from the Unix epoch time.

        Returns:
        The time when the database was created, calculated from the Unix epoch time.
      • lastUpdatedTime

        public final Instant lastUpdatedTime()

        The last time that this database was updated.

        Returns:
        The last time that this database was updated.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)