com.amazonaws.services.simpledb.model

## クラス DeleteAttributesRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.simpledb.model.DeleteAttributesRequest

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

      public class DeleteAttributesRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteAttributes operation`.

  Deletes one or more attributes associated with an item. If all attributes of the item are deleted, the item is deleted.

  NOTE: If DeleteAttributes is called without being passed any attributes or values specified, all the attributes for the item are deleted.

  `DeleteAttributes` is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response.

  Because Amazon SimpleDB makes multiple copies of item data and uses an eventual consistency update model, performing a GetAttributes or Select operation (read) immediately after a `DeleteAttributes` or PutAttributes operation (write) might not return updated item data.

  関連項目:
    `AmazonSimpleDB.deleteAttributes(DeleteAttributesRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `DeleteAttributesRequest()` Default constructor for a new DeleteAttributesRequest object.
    `DeleteAttributesRequest(java.lang.String domainName, java.lang.String itemName)` Constructs a new DeleteAttributesRequest object.
    `DeleteAttributesRequest(java.lang.String domainName, java.lang.String itemName, java.util.List<Attribute> attributes)` Constructs a new DeleteAttributesRequest object.
    `DeleteAttributesRequest(java.lang.String domainName, java.lang.String itemName, java.util.List<Attribute> attributes, UpdateCondition expected)` Constructs a new DeleteAttributesRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Attribute>` | `getAttributes()` A list of Attributes.
    `java.lang.String` | `getDomainName()` The name of the domain in which to perform the operation.
    `UpdateCondition` | `getExpected()` The update condition which, if specified, determines whether the specified attributes will be deleted or not.
    `java.lang.String` | `getItemName()` The name of the item.
    `int` | `hashCode()`
    `void` | `setAttributes(java.util.Collection<Attribute> attributes)` A list of Attributes.
    `void` | `setDomainName(java.lang.String domainName)` The name of the domain in which to perform the operation.
    `void` | `setExpected(UpdateCondition expected)` The update condition which, if specified, determines whether the specified attributes will be deleted or not.
    `void` | `setItemName(java.lang.String itemName)` The name of the item.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DeleteAttributesRequest` | `withAttributes(Attribute... attributes)` A list of Attributes.
    `DeleteAttributesRequest` | `withAttributes(java.util.Collection<Attribute> attributes)` A list of Attributes.
    `DeleteAttributesRequest` | `withDomainName(java.lang.String domainName)` The name of the domain in which to perform the operation.
    `DeleteAttributesRequest` | `withExpected(UpdateCondition expected)` The update condition which, if specified, determines whether the specified attributes will be deleted or not.
    `DeleteAttributesRequest` | `withItemName(java.lang.String itemName)` The name of the item.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DeleteAttributesRequest

          public DeleteAttributesRequest()

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

    - #### DeleteAttributesRequest

          public DeleteAttributesRequest(java.lang.String domainName,
                                 java.lang.String itemName)

      Constructs a new DeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `domainName` - The name of the domain in which to perform the operation.
        `itemName` - The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.

    - #### DeleteAttributesRequest

          public DeleteAttributesRequest(java.lang.String domainName,
                                 java.lang.String itemName,
                                 java.util.List<Attribute> attributes)

      Constructs a new DeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `domainName` - The name of the domain in which to perform the operation.
        `itemName` - The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.
        `attributes` - A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

    - #### DeleteAttributesRequest

          public DeleteAttributesRequest(java.lang.String domainName,
                                 java.lang.String itemName,
                                 java.util.List<Attribute> attributes,
                                 UpdateCondition expected)

      Constructs a new DeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `domainName` - The name of the domain in which to perform the operation.
        `itemName` - The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.
        `attributes` - A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.
        `expected` - The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.

  - ### メソッドの詳細

    - #### getDomainName

          public java.lang.String getDomainName()

      The name of the domain in which to perform the operation.
      戻り値:
        The name of the domain in which to perform the operation.

    - #### setDomainName

          public void setDomainName(java.lang.String domainName)

      The name of the domain in which to perform the operation.
      パラメータ:
        `domainName` - The name of the domain in which to perform the operation.

    - #### withDomainName

          public DeleteAttributesRequest withDomainName(java.lang.String domainName)

      The name of the domain in which to perform the operation.

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

      パラメータ:
        `domainName` - The name of the domain in which to perform the operation.

    - #### getItemName

          public java.lang.String getItemName()

      The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.
      戻り値:
        The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.

    - #### setItemName

          public void setItemName(java.lang.String itemName)

      The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.
      パラメータ:
        `itemName` - The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.

    - #### withItemName

          public DeleteAttributesRequest withItemName(java.lang.String itemName)

      The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.

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

      パラメータ:
        `itemName` - The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.

    - #### getAttributes

          public java.util.List<Attribute> getAttributes()

      A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.
      戻り値:
        A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

    - #### setAttributes

          public void setAttributes(java.util.Collection<Attribute> attributes)

      A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.
      パラメータ:
        `attributes` - A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

    - #### withAttributes

          public DeleteAttributesRequest withAttributes(Attribute... attributes)

      A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

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

      パラメータ:
        `attributes` - A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

    - #### withAttributes

          public DeleteAttributesRequest withAttributes(java.util.Collection<Attribute> attributes)

      A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

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

      パラメータ:
        `attributes` - A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.

    - #### getExpected

          public UpdateCondition getExpected()

      The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.
      戻り値:
        The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.

    - #### setExpected

          public void setExpected(UpdateCondition expected)

      The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.
      パラメータ:
        `expected` - The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.

    - #### withExpected

          public DeleteAttributesRequest withExpected(UpdateCondition expected)

      The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.

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

      パラメータ:
        `expected` - The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.

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