com.amazonaws.services.dynamodbv2.model

## クラス Projection

- java.lang.Object
- - com.amazonaws.services.dynamodbv2.model.Projection

- すべての実装されたインタフェース:
    java.io.Serializable

      public class Projection
      extends java.lang.Object
      implements java.io.Serializable

  Represents attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `Projection()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getNonKeyAttributes()` Represents the non-key attribute names which will be projected into the index.
    `java.lang.String` | `getProjectionType()` Represents the set of attributes that are projected into the index: `KEYS_ONLY` - Only the index and primary keys are projected into the index.
    `int` | `hashCode()`
    `void` | `setNonKeyAttributes(java.util.Collection<java.lang.String> nonKeyAttributes)` Represents the non-key attribute names which will be projected into the index.
    `void` | `setProjectionType(ProjectionType projectionType)` Represents the set of attributes that are projected into the index: `KEYS_ONLY` - Only the index and primary keys are projected into the index.
    `void` | `setProjectionType(java.lang.String projectionType)` Represents the set of attributes that are projected into the index: `KEYS_ONLY` - Only the index and primary keys are projected into the index.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Projection` | `withNonKeyAttributes(java.util.Collection<java.lang.String> nonKeyAttributes)` Represents the non-key attribute names which will be projected into the index.
    `Projection` | `withNonKeyAttributes(java.lang.String... nonKeyAttributes)` Represents the non-key attribute names which will be projected into the index.
    `Projection` | `withProjectionType(ProjectionType projectionType)` Represents the set of attributes that are projected into the index: `KEYS_ONLY` - Only the index and primary keys are projected into the index.
    `Projection` | `withProjectionType(java.lang.String projectionType)` Represents the set of attributes that are projected into the index: `KEYS_ONLY` - Only the index and primary keys are projected into the index.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### Projection

          public Projection()

  - ### メソッドの詳細

    - #### getProjectionType

          public java.lang.String getProjectionType()

      Represents the set of attributes that are projected into the index:

      - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

      - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

      - `ALL` - All of the table attributes are projected into the index.

      Constraints:
      Allowed Values: ALL, KEYS_ONLY, INCLUDE

      戻り値:
        Represents the set of attributes that are projected into the index:

        - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

        - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

        - `ALL` - All of the table attributes are projected into the index.

      関連項目:
        `ProjectionType`

    - #### setProjectionType

          public void setProjectionType(java.lang.String projectionType)

      Represents the set of attributes that are projected into the index:

      - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

      - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

      - `ALL` - All of the table attributes are projected into the index.

      Constraints:
      Allowed Values: ALL, KEYS_ONLY, INCLUDE

      パラメータ:
        `projectionType` - Represents the set of attributes that are projected into the index:

        - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

        - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

        - `ALL` - All of the table attributes are projected into the index.

      関連項目:
        `ProjectionType`

    - #### withProjectionType

          public Projection withProjectionType(java.lang.String projectionType)

      Represents the set of attributes that are projected into the index:

      - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

      - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

      - `ALL` - All of the table attributes are projected into the index.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: ALL, KEYS_ONLY, INCLUDE

      パラメータ:
        `projectionType` - Represents the set of attributes that are projected into the index:

        - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

        - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

        - `ALL` - All of the table attributes are projected into the index.

      関連項目:
        `ProjectionType`

    - #### setProjectionType

          public void setProjectionType(ProjectionType projectionType)

      Represents the set of attributes that are projected into the index:

      - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

      - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

      - `ALL` - All of the table attributes are projected into the index.

      Constraints:
      Allowed Values: ALL, KEYS_ONLY, INCLUDE

      パラメータ:
        `projectionType` - Represents the set of attributes that are projected into the index:

        - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

        - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

        - `ALL` - All of the table attributes are projected into the index.

      関連項目:
        `ProjectionType`

    - #### withProjectionType

          public Projection withProjectionType(ProjectionType projectionType)

      Represents the set of attributes that are projected into the index:

      - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

      - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

      - `ALL` - All of the table attributes are projected into the index.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: ALL, KEYS_ONLY, INCLUDE

      パラメータ:
        `projectionType` - Represents the set of attributes that are projected into the index:

        - `KEYS_ONLY` - Only the index and primary keys are projected into the index.

        - `INCLUDE` - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.

        - `ALL` - All of the table attributes are projected into the index.

      関連項目:
        `ProjectionType`

    - #### getNonKeyAttributes

          public java.util.List<java.lang.String> getNonKeyAttributes()

      Represents the non-key attribute names which will be projected into the index.

      The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

      Constraints:
      Length: 1 - 20

      戻り値:
        Represents the non-key attribute names which will be projected into the index.

        The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

    - #### setNonKeyAttributes

          public void setNonKeyAttributes(java.util.Collection<java.lang.String> nonKeyAttributes)

      Represents the non-key attribute names which will be projected into the index.

      The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

      Constraints:
      Length: 1 - 20

      パラメータ:
        `nonKeyAttributes` - Represents the non-key attribute names which will be projected into the index.

        The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

    - #### withNonKeyAttributes

          public Projection withNonKeyAttributes(java.lang.String... nonKeyAttributes)

      Represents the non-key attribute names which will be projected into the index.

      The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 20

      パラメータ:
        `nonKeyAttributes` - Represents the non-key attribute names which will be projected into the index.

        The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

    - #### withNonKeyAttributes

          public Projection withNonKeyAttributes(java.util.Collection<java.lang.String> nonKeyAttributes)

      Represents the non-key attribute names which will be projected into the index.

      The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 20

      パラメータ:
        `nonKeyAttributes` - Represents the non-key attribute names which will be projected into the index.

        The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`