Class TableLocalSecondaryIndexArgs.Builder

    • Method Detail

      • nonKeyAttributes

        public TableLocalSecondaryIndexArgs.Builder nonKeyAttributes​(@Nullable
                                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> nonKeyAttributes)
        Parameters:
        nonKeyAttributes - Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
        Returns:
        builder
      • nonKeyAttributes

        public TableLocalSecondaryIndexArgs.Builder nonKeyAttributes​(java.util.List<java.lang.String> nonKeyAttributes)
        Parameters:
        nonKeyAttributes - Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
        Returns:
        builder
      • nonKeyAttributes

        public TableLocalSecondaryIndexArgs.Builder nonKeyAttributes​(java.lang.String... nonKeyAttributes)
        Parameters:
        nonKeyAttributes - Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
        Returns:
        builder
      • projectionType

        public TableLocalSecondaryIndexArgs.Builder projectionType​(com.pulumi.core.Output<java.lang.String> projectionType)
        Parameters:
        projectionType - One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project.
        Returns:
        builder
      • projectionType

        public TableLocalSecondaryIndexArgs.Builder projectionType​(java.lang.String projectionType)
        Parameters:
        projectionType - One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project.
        Returns:
        builder
      • rangeKey

        public TableLocalSecondaryIndexArgs.Builder rangeKey​(com.pulumi.core.Output<java.lang.String> rangeKey)
        Parameters:
        rangeKey - Name of the range key.
        Returns:
        builder