|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpledb.model.BatchDeleteAttributesRequest
public class BatchDeleteAttributesRequest
Container for the parameters to the BatchDeleteAttributes operation
.
Performs multiple DeleteAttributes operations in a single call, which reduces round trips and latencies. This enables Amazon SimpleDB to optimize requests, which generally yields better throughput.
NOTE: If you specify BatchDeleteAttributes without attributes or values, all the attributes for the item are deleted. BatchDeleteAttributes is an idempotent operation; running it multiple times on the same item or attribute doesn't result in an error. The BatchDeleteAttributes operation succeeds or fails in its entirety. There are no partial deletes. You can execute multiple BatchDeleteAttributes operations and other operations in parallel. However, large numbers of concurrent BatchDeleteAttributes calls can result in Service Unavailable (503) responses. This operation is vulnerable to exceeding the maximum URL size when making a REST request using the HTTP GET method. This operation does not support conditions using Expected.X.Name, Expected.X.Value, or Expected.X.Exists.
The following limitations are enforced for this operation:
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 | |
---|---|
boolean |
equals(Object obj)
|
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. |
int |
hashCode()
|
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, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BatchDeleteAttributesRequest()
public BatchDeleteAttributesRequest(String domainName, List<DeletableItem> items)
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 |
---|
public String getDomainName()
public void setDomainName(String domainName)
domainName
- The name of the domain in which the attributes are being deleted.public BatchDeleteAttributesRequest withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
domainName
- The name of the domain in which the attributes are being deleted.
public List<DeletableItem> getItems()
public void setItems(Collection<DeletableItem> items)
items
- A list of items on which to perform the operation.public BatchDeleteAttributesRequest withItems(DeletableItem... items)
Returns a reference to this object so that method calls can be chained together.
items
- A list of items on which to perform the operation.
public BatchDeleteAttributesRequest withItems(Collection<DeletableItem> items)
Returns a reference to this object so that method calls can be chained together.
items
- A list of items on which to perform the operation.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |