Class TableAttributes.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.dynamodb.TableAttributes.Jsii$Proxy
All Implemented Interfaces:
TableAttributes, software.amazon.jsii.JsiiSerializable
Enclosing interface:
TableAttributes

@Stability(Stable) @Internal public static final class TableAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TableAttributes
An implementation for TableAttributes
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(TableAttributes.Builder builder)
      Constructor that initializes the object based on literal property values passed by the TableAttributes.Builder.
  • Method Details

    • getEncryptionKey

      public final IKey getEncryptionKey()
      Description copied from interface: TableAttributes
      KMS encryption key, if this table uses a customer-managed encryption key.

      Default: - no key

      Specified by:
      getEncryptionKey in interface TableAttributes
    • getGlobalIndexes

      public final List<String> getGlobalIndexes()
      Description copied from interface: TableAttributes
      The name of the global indexes set for this Table.

      Note that you need to set either this property, or localIndexes, if you want methods like grantReadData() to grant permissions for indexes as well as the table itself.

      Default: - no global indexes

      Specified by:
      getGlobalIndexes in interface TableAttributes
    • getGrantIndexPermissions

      public final Boolean getGrantIndexPermissions()
      Description copied from interface: TableAttributes
      If set to true, grant methods always grant permissions for all indexes.

      If false is provided, grant methods grant the permissions only when globalIndexes or localIndexes is specified.

      Default: - false

      Specified by:
      getGrantIndexPermissions in interface TableAttributes
    • getLocalIndexes

      public final List<String> getLocalIndexes()
      Description copied from interface: TableAttributes
      The name of the local indexes set for this Table.

      Note that you need to set either this property, or globalIndexes, if you want methods like grantReadData() to grant permissions for indexes as well as the table itself.

      Default: - no local indexes

      Specified by:
      getLocalIndexes in interface TableAttributes
    • getTableArn

      public final String getTableArn()
      Description copied from interface: TableAttributes
      The ARN of the dynamodb table.

      One of this, or tableName, is required.

      Default: - no table arn

      Specified by:
      getTableArn in interface TableAttributes
    • getTableName

      public final String getTableName()
      Description copied from interface: TableAttributes
      The table name of the dynamodb table.

      One of this, or tableArn, is required.

      Default: - no table name

      Specified by:
      getTableName in interface TableAttributes
    • getTableStreamArn

      public final String getTableStreamArn()
      Description copied from interface: TableAttributes
      The ARN of the table's stream.

      Default: - no table stream

      Specified by:
      getTableStreamArn in interface TableAttributes
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

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

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