com.amazonaws.services.simpledb.model

## クラス UpdateCondition

- java.lang.Object
- - com.amazonaws.services.simpledb.model.UpdateCondition

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

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

  Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getExists()` A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied.
    `java.lang.String` | `getName()` The name of the attribute involved in the condition.
    `java.lang.String` | `getValue()` The value of an attribute.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isExists()` A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied.
    `void` | `setExists(java.lang.Boolean exists)` A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied.
    `void` | `setName(java.lang.String name)` The name of the attribute involved in the condition.
    `void` | `setValue(java.lang.String value)` The value of an attribute.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UpdateCondition` | `withExists(java.lang.Boolean exists)` A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied.
    `UpdateCondition` | `withName(java.lang.String name)` The name of the attribute involved in the condition.
    `UpdateCondition` | `withValue(java.lang.String value)` The value of an attribute.

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

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

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

    - #### UpdateCondition

          public UpdateCondition()

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

    - #### UpdateCondition

          public UpdateCondition(java.lang.String name,
                         java.lang.String value,
                         java.lang.Boolean exists)

      Constructs a new UpdateCondition object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `name` - The name of the attribute involved in the condition.
        `value` - The value of an attribute. This value can only be specified when the `Exists` parameter is equal to `true`.
        `exists` - A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.

  - ### メソッドの詳細

    - #### getName

          public java.lang.String getName()

      The name of the attribute involved in the condition.
      戻り値:
        The name of the attribute involved in the condition.

    - #### setName

          public void setName(java.lang.String name)

      The name of the attribute involved in the condition.
      パラメータ:
        `name` - The name of the attribute involved in the condition.

    - #### withName

          public UpdateCondition withName(java.lang.String name)

      The name of the attribute involved in the condition.

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

      パラメータ:
        `name` - The name of the attribute involved in the condition.

    - #### getValue

          public java.lang.String getValue()

      The value of an attribute. This value can only be specified when the `Exists` parameter is equal to `true`.
      戻り値:
        The value of an attribute. This value can only be specified when the `Exists` parameter is equal to `true`.

    - #### setValue

          public void setValue(java.lang.String value)

      The value of an attribute. This value can only be specified when the `Exists` parameter is equal to `true`.
      パラメータ:
        `value` - The value of an attribute. This value can only be specified when the `Exists` parameter is equal to `true`.

    - #### withValue

          public UpdateCondition withValue(java.lang.String value)

      The value of an attribute. This value can only be specified when the `Exists` parameter is equal to `true`.

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

      パラメータ:
        `value` - The value of an attribute. This value can only be specified when the `Exists` parameter is equal to `true`.

    - #### isExists

          public java.lang.Boolean isExists()

      A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.
      戻り値:
        A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.

    - #### setExists

          public void setExists(java.lang.Boolean exists)

      A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.
      パラメータ:
        `exists` - A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.

    - #### withExists

          public UpdateCondition withExists(java.lang.Boolean exists)

      A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.

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

      パラメータ:
        `exists` - A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.

    - #### getExists

          public java.lang.Boolean getExists()

      A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.
      戻り値:
        A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify `true` if the attribute must exist for the update condition to be satisfied. Specify `false` if the attribute should not exist in order for the update condition to be satisfied.

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