public class BatchDeleteAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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:
NOOP
Constructor and Description |
---|
BatchDeleteAttributesRequest()
Default constructor for a new BatchDeleteAttributesRequest object.
|
BatchDeleteAttributesRequest(String domainName,
List<DeletableItem> items)
Constructs a new BatchDeleteAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
BatchDeleteAttributesRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.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)
NOTE: This method appends the values to the existing list (if
any). Use setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the existing
values.
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 BatchDeleteAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.