Enum ProjectionType

java.lang.Object
java.lang.Enum<ProjectionType>
software.amazon.awscdk.services.dynamodb.ProjectionType
All Implemented Interfaces:
Serializable, Comparable<ProjectionType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.286Z") @Stability(Stable) public enum ProjectionType extends Enum<ProjectionType>
The set of attributes that are projected into the index.

See Also:
  • Enum Constant Details

    • KEYS_ONLY

      @Stability(Stable) public static final ProjectionType KEYS_ONLY
      Only the index and primary keys are projected into the index.
    • INCLUDE

      @Stability(Stable) public static final ProjectionType INCLUDE
      Only the specified table attributes are projected into the index.

      The list of projected attributes is in nonKeyAttributes.

    • ALL

      @Stability(Stable) public static final ProjectionType ALL
      All of the table attributes are projected into the index.
  • Method Details

    • values

      public static ProjectionType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ProjectionType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null