com.amazonaws.services.dynamodb.model

## クラス KeySchema

- java.lang.Object
- - com.amazonaws.services.dynamodb.model.KeySchema

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

  非推奨です。

      @Deprecated
      public class KeySchema
      extends java.lang.Object
      implements java.io.Serializable

  The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. Single attribute primary keys have one index value: a `HashKeyElement` . A composite hash-and-range primary key contains two attribute values: a `HashKeyElement` and a `RangeKeyElement` .

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

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

    コンストラクタ
    コンストラクタと説明
    `KeySchema()` 非推奨です。 Default constructor for a new KeySchema object.
    `KeySchema(KeySchemaElement hashKeyElement)` 非推奨です。 Constructs a new KeySchema object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)` 非推奨です。
    `KeySchemaElement` | `getHashKeyElement()` 非推奨です。 A hash key element is treated as the primary key, and can be a string or a number.
    `KeySchemaElement` | `getRangeKeyElement()` 非推奨です。 A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys.
    `int` | `hashCode()` 非推奨です。
    `void` | `setHashKeyElement(KeySchemaElement hashKeyElement)` 非推奨です。 A hash key element is treated as the primary key, and can be a string or a number.
    `void` | `setRangeKeyElement(KeySchemaElement rangeKeyElement)` 非推奨です。 A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys.
    `java.lang.String` | `toString()` 非推奨です。 Returns a string representation of this object; useful for testing and debugging.
    `KeySchema` | `withHashKeyElement(KeySchemaElement hashKeyElement)` 非推奨です。 A hash key element is treated as the primary key, and can be a string or a number.
    `KeySchema` | `withRangeKeyElement(KeySchemaElement rangeKeyElement)` 非推奨です。 A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys.

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

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

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

    - #### KeySchema

          public KeySchema()

      非推奨です。
      Default constructor for a new KeySchema object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### KeySchema

          public KeySchema(KeySchemaElement hashKeyElement)

      非推奨です。
      Constructs a new KeySchema object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `hashKeyElement` - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be `String`, `Number`, `StringSet`, `NumberSet`.

  - ### メソッドの詳細

    - #### getHashKeyElement

          public KeySchemaElement getHashKeyElement()

      非推奨です。
      A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be `String`, `Number`, `StringSet`, `NumberSet`.
      戻り値:
        A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be `String`, `Number`, `StringSet`, `NumberSet`.

    - #### setHashKeyElement

          public void setHashKeyElement(KeySchemaElement hashKeyElement)

      非推奨です。
      A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be `String`, `Number`, `StringSet`, `NumberSet`.
      パラメータ:
        `hashKeyElement` - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be `String`, `Number`, `StringSet`, `NumberSet`.

    - #### withHashKeyElement

          public KeySchema withHashKeyElement(KeySchemaElement hashKeyElement)

      非推奨です。
      A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be `String`, `Number`, `StringSet`, `NumberSet`.

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

      パラメータ:
        `hashKeyElement` - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be `String`, `Number`, `StringSet`, `NumberSet`.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### getRangeKeyElement

          public KeySchemaElement getRangeKeyElement()

      非推奨です。
      A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be `String`, `Number`, `StringSet`, `NumberSet`.
      戻り値:
        A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be `String`, `Number`, `StringSet`, `NumberSet`.

    - #### setRangeKeyElement

          public void setRangeKeyElement(KeySchemaElement rangeKeyElement)

      非推奨です。
      A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be `String`, `Number`, `StringSet`, `NumberSet`.
      パラメータ:
        `rangeKeyElement` - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be `String`, `Number`, `StringSet`, `NumberSet`.

    - #### withRangeKeyElement

          public KeySchema withRangeKeyElement(KeySchemaElement rangeKeyElement)

      非推奨です。
      A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be `String`, `Number`, `StringSet`, `NumberSet`.

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

      パラメータ:
        `rangeKeyElement` - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be `String`, `Number`, `StringSet`, `NumberSet`.
      戻り値:
        A reference to this updated object so that method calls can be chained together.

    - #### 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`