com.amazonaws.services.elasticmapreduce.model

## クラス KeyValue

- java.lang.Object
- - com.amazonaws.services.elasticmapreduce.model.KeyValue

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

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

  A key value pair.

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

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

    コンストラクタ
    コンストラクタと説明
    `KeyValue()` Default constructor for a new KeyValue object.
    `KeyValue(java.lang.String key, java.lang.String value)` Constructs a new KeyValue object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getKey()` The unique identifier of a key value pair.
    `java.lang.String` | `getValue()` The value part of the identified key.
    `int` | `hashCode()`
    `void` | `setKey(java.lang.String key)` The unique identifier of a key value pair.
    `void` | `setValue(java.lang.String value)` The value part of the identified key.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `KeyValue` | `withKey(java.lang.String key)` The unique identifier of a key value pair.
    `KeyValue` | `withValue(java.lang.String value)` The value part of the identified key.

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

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

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

    - #### KeyValue

          public KeyValue()

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

    - #### KeyValue

          public KeyValue(java.lang.String key,
                  java.lang.String value)

      Constructs a new KeyValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `key` - The unique identifier of a key value pair.
        `value` - The value part of the identified key.

  - ### メソッドの詳細

    - #### getKey

          public java.lang.String getKey()

      The unique identifier of a key value pair.

      Constraints:
      Length: 0 - 10280
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The unique identifier of a key value pair.

    - #### setKey

          public void setKey(java.lang.String key)

      The unique identifier of a key value pair.

      Constraints:
      Length: 0 - 10280
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `key` - The unique identifier of a key value pair.

    - #### withKey

          public KeyValue withKey(java.lang.String key)

      The unique identifier of a key value pair.

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

      Constraints:
      Length: 0 - 10280
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `key` - The unique identifier of a key value pair.

    - #### getValue

          public java.lang.String getValue()

      The value part of the identified key.

      Constraints:
      Length: 0 - 10280
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The value part of the identified key.

    - #### setValue

          public void setValue(java.lang.String value)

      The value part of the identified key.

      Constraints:
      Length: 0 - 10280
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `value` - The value part of the identified key.

    - #### withValue

          public KeyValue withValue(java.lang.String value)

      The value part of the identified key.

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

      Constraints:
      Length: 0 - 10280
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `value` - The value part of the identified key.

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