com.amazonaws.services.dynamodbv2.model

## クラス KeySchemaElement

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

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

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

  Represents a key schema. Specifies the attributes that make up the primary key of a table, or the key attributes of a secondary index.

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

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

    コンストラクタ
    コンストラクタと説明
    `KeySchemaElement()` Default constructor for a new KeySchemaElement object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAttributeName()` Represents the name of a key attribute.
    `java.lang.String` | `getKeyType()` Represents the attribute data, consisting of the data type and the attribute value itself.
    `int` | `hashCode()`
    `void` | `setAttributeName(java.lang.String attributeName)` Represents the name of a key attribute.
    `void` | `setKeyType(KeyType keyType)` Represents the attribute data, consisting of the data type and the attribute value itself.
    `void` | `setKeyType(java.lang.String keyType)` Represents the attribute data, consisting of the data type and the attribute value itself.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `KeySchemaElement` | `withAttributeName(java.lang.String attributeName)` Represents the name of a key attribute.
    `KeySchemaElement` | `withKeyType(KeyType keyType)` Represents the attribute data, consisting of the data type and the attribute value itself.
    `KeySchemaElement` | `withKeyType(java.lang.String keyType)` Represents the attribute data, consisting of the data type and the attribute value itself.

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

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

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

    - #### KeySchemaElement

          public KeySchemaElement()

      Default constructor for a new KeySchemaElement object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

  - ### メソッドの詳細

    - #### getAttributeName

          public java.lang.String getAttributeName()

      Represents the name of a key attribute.

      Constraints:
      Length: 1 - 255

      戻り値:
        Represents the name of a key attribute.

    - #### setAttributeName

          public void setAttributeName(java.lang.String attributeName)

      Represents the name of a key attribute.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `attributeName` - Represents the name of a key attribute.

    - #### withAttributeName

          public KeySchemaElement withAttributeName(java.lang.String attributeName)

      Represents the name of a key attribute.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `attributeName` - Represents the name of a key attribute.

    - #### getKeyType

          public java.lang.String getKeyType()

      Represents the attribute data, consisting of the data type and the attribute value itself.

      Constraints:
      Allowed Values: HASH, RANGE

      戻り値:
        Represents the attribute data, consisting of the data type and the attribute value itself.
      関連項目:
        `KeyType`

    - #### setKeyType

          public void setKeyType(java.lang.String keyType)

      Represents the attribute data, consisting of the data type and the attribute value itself.

      Constraints:
      Allowed Values: HASH, RANGE

      パラメータ:
        `keyType` - Represents the attribute data, consisting of the data type and the attribute value itself.
      関連項目:
        `KeyType`

    - #### withKeyType

          public KeySchemaElement withKeyType(java.lang.String keyType)

      Represents the attribute data, consisting of the data type and the attribute value itself.

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

      Constraints:
      Allowed Values: HASH, RANGE

      パラメータ:
        `keyType` - Represents the attribute data, consisting of the data type and the attribute value itself.
      関連項目:
        `KeyType`

    - #### setKeyType

          public void setKeyType(KeyType keyType)

      Represents the attribute data, consisting of the data type and the attribute value itself.

      Constraints:
      Allowed Values: HASH, RANGE

      パラメータ:
        `keyType` - Represents the attribute data, consisting of the data type and the attribute value itself.
      関連項目:
        `KeyType`

    - #### withKeyType

          public KeySchemaElement withKeyType(KeyType keyType)

      Represents the attribute data, consisting of the data type and the attribute value itself.

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

      Constraints:
      Allowed Values: HASH, RANGE

      パラメータ:
        `keyType` - Represents the attribute data, consisting of the data type and the attribute value itself.
      関連項目:
        `KeyType`

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