Interface CfnTagAssociation.TableWithColumnsResourceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTagAssociation.TableWithColumnsResourceProperty.Jsii$Proxy
Enclosing class:
CfnTagAssociation

@Stability(Stable) public static interface CfnTagAssociation.TableWithColumnsResourceProperty extends software.amazon.jsii.JsiiSerializable
A structure for a table with columns object. This object is only used when granting a SELECT permission.

This object must take a value for at least one of ColumnsNames , ColumnsIndexes , or ColumnsWildcard .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lakeformation.*;
 TableWithColumnsResourceProperty tableWithColumnsResourceProperty = TableWithColumnsResourceProperty.builder()
         .catalogId("catalogId")
         .columnNames(List.of("columnNames"))
         .databaseName("databaseName")
         .name("name")
         .build();
 
  • Method Details

    • getCatalogId

      @Stability(Stable) @NotNull String getCatalogId()
      A wildcard object representing every table under a database.

      At least one of TableResource$Name or TableResource$TableWildcard is required.

    • getColumnNames

      @Stability(Stable) @NotNull List<String> getColumnNames()
      The list of column names for the table.

      At least one of ColumnNames or ColumnWildcard is required.

    • getDatabaseName

      @Stability(Stable) @NotNull String getDatabaseName()
      The name of the database for the table with columns 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 privileges to a principal.

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the table resource.

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

    • builder

      Returns:
      a CfnTagAssociation.TableWithColumnsResourceProperty.Builder of CfnTagAssociation.TableWithColumnsResourceProperty