Annotation Type DynamoDbSecondarySortKey

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String[] indexNames
      The names of one or more local or global secondary indices that this sort key should participate in.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Order order
      The order of this sort key attribute in composite keys (0-3).
    • Element Detail

      • indexNames

        String[] indexNames
        The names of one or more local or global secondary indices that this sort key should participate in.

        For global secondary indices, this must match an index name specified in a DynamoDbSecondaryPartitionKey. Any index names specified that do not have an associated DynamoDbSecondaryPartitionKey are treated as local secondary indexes.

      • order

        Order order
        The order of this sort key attribute in composite keys (0-3). Required when multiple sort keys are defined.
        Default:
        software.amazon.awssdk.enhanced.dynamodb.mapper.Order.UNSPECIFIED