public class BatchDeleteAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable
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:
Constructor and Description |
---|
BatchDeleteAttributesRequest()
Default constructor for a new BatchDeleteAttributesRequest object.
|
BatchDeleteAttributesRequest(java.lang.String domainName,
java.util.List<DeletableItem> items)
Constructs a new BatchDeleteAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
The name of the domain in which the attributes are being deleted.
|
java.util.List<DeletableItem> |
getItems()
A list of items on which to perform the operation.
|
int |
hashCode() |
void |
setDomainName(java.lang.String domainName)
The name of the domain in which the attributes are being deleted.
|
void |
setItems(java.util.Collection<DeletableItem> items)
A list of items on which to perform the operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchDeleteAttributesRequest |
withDomainName(java.lang.String domainName)
The name of the domain in which the attributes are being deleted.
|
BatchDeleteAttributesRequest |
withItems(java.util.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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public BatchDeleteAttributesRequest()
public BatchDeleteAttributesRequest(java.lang.String domainName, java.util.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 java.lang.String getDomainName()
public void setDomainName(java.lang.String domainName)
domainName
- The name of the domain in which the attributes are being deleted.public BatchDeleteAttributesRequest withDomainName(java.lang.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 java.util.List<DeletableItem> getItems()
public void setItems(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.