com.amazonaws.services.simpledb.model
Class BatchDeleteAttributesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpledb.model.BatchDeleteAttributesRequest

public class BatchDeleteAttributesRequest
extends AmazonWebServiceRequest

Container for the parameters to the BatchDeleteAttributes operation.

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

See Also:
AmazonSimpleDB.batchDeleteAttributes(BatchDeleteAttributesRequest)

Constructor Summary
BatchDeleteAttributesRequest()
          Default constructor for a new BatchDeleteAttributesRequest object.
BatchDeleteAttributesRequest(String domainName, List<DeletableItem> items)
          Constructs a new BatchDeleteAttributesRequest object.
 
Method Summary
 String getDomainName()
          The name of the domain in which the attributes are being deleted.
 List<DeletableItem> getItems()
          A list of items on which to perform the operation.
 void setDomainName(String domainName)
          The name of the domain in which the attributes are being deleted.
 void setItems(Collection<DeletableItem> items)
          A list of items on which to perform the operation.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 BatchDeleteAttributesRequest withDomainName(String domainName)
          The name of the domain in which the attributes are being deleted.
 BatchDeleteAttributesRequest withItems(Collection<DeletableItem> items)
          A list of items on which to perform the operation.
 BatchDeleteAttributesRequest withItems(DeletableItem... items)
          A list of items on which to perform the operation.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, setDelegationToken
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchDeleteAttributesRequest

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


BatchDeleteAttributesRequest

public BatchDeleteAttributesRequest(String domainName,
                                    List<DeletableItem> items)
Constructs a new BatchDeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
domainName - The name of the domain in which the attributes are being deleted.
items - A list of items on which to perform the operation.
Method Detail

getDomainName

public String getDomainName()
The name of the domain in which the attributes are being deleted.

Returns:
The name of the domain in which the attributes are being deleted.

setDomainName

public void setDomainName(String domainName)
The name of the domain in which the attributes are being deleted.

Parameters:
domainName - The name of the domain in which the attributes are being deleted.

withDomainName

public BatchDeleteAttributesRequest withDomainName(String domainName)
The name of the domain in which the attributes are being deleted.

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

Parameters:
domainName - The name of the domain in which the attributes are being deleted.
Returns:
A reference to this updated object so that method calls can be chained together.

getItems

public List<DeletableItem> getItems()
A list of items on which to perform the operation.

Returns:
A list of items on which to perform the operation.

setItems

public void setItems(Collection<DeletableItem> items)
A list of items on which to perform the operation.

Parameters:
items - A list of items on which to perform the operation.

withItems

public BatchDeleteAttributesRequest withItems(DeletableItem... items)
A list of items on which to perform the operation.

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

Parameters:
items - A list of items on which to perform the operation.
Returns:
A reference to this updated object so that method calls can be chained together.

withItems

public BatchDeleteAttributesRequest withItems(Collection<DeletableItem> items)
A list of items on which to perform the operation.

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

Parameters:
items - A list of items on which to perform the operation.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.