Class Resource

    • Method Detail

      • catalog

        public final CatalogResource catalog()

        The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

        Returns:
        The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
      • database

        public final DatabaseResource database()

        The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.

        Returns:
        The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
      • table

        public final TableResource table()

        The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

        Returns:
        The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
      • tableWithColumns

        public final TableWithColumnsResource tableWithColumns()

        The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.

        Returns:
        The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
      • dataLocation

        public final DataLocationResource dataLocation()

        The location of an Amazon S3 path where permissions are granted or revoked.

        Returns:
        The location of an Amazon S3 path where permissions are granted or revoked.
      • dataCellsFilter

        public final DataCellsFilterResource dataCellsFilter()

        A data cell filter.

        Returns:
        A data cell filter.
      • lfTag

        public final LFTagKeyResource lfTag()

        The LF-tag key and values attached to a resource.

        Returns:
        The LF-tag key and values attached to a resource.
      • lfTagPolicy

        public final LFTagPolicyResource lfTagPolicy()

        A list of LF-tag conditions that define a resource's LF-tag policy.

        Returns:
        A list of LF-tag conditions that define a resource's LF-tag policy.
      • 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)