Class BatchPutAttributesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpledb.model.BatchPutAttributesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class BatchPutAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description BatchPutAttributesRequest()
Default constructor for BatchPutAttributesRequest object.BatchPutAttributesRequest(String domainName, List<ReplaceableItem> items)
Constructs a new BatchPutAttributesRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchPutAttributesRequest
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 stored.List<ReplaceableItem>
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 stored.void
setItems(Collection<ReplaceableItem> 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.BatchPutAttributesRequest
withDomainName(String domainName)
The name of the domain in which the attributes are being stored.BatchPutAttributesRequest
withItems(ReplaceableItem... items)
A list of items on which to perform the operation.BatchPutAttributesRequest
withItems(Collection<ReplaceableItem> items)
A list of items on which to perform the operation.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
BatchPutAttributesRequest
public BatchPutAttributesRequest()
Default constructor for BatchPutAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
BatchPutAttributesRequest
public BatchPutAttributesRequest(String domainName, List<ReplaceableItem> items)
Constructs a new BatchPutAttributesRequest 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 stored.items
- A list of items on which to perform the operation.
-
-
Method Detail
-
setDomainName
public void setDomainName(String domainName)
The name of the domain in which the attributes are being stored.- Parameters:
domainName
- The name of the domain in which the attributes are being stored.
-
getDomainName
public String getDomainName()
The name of the domain in which the attributes are being stored.- Returns:
- The name of the domain in which the attributes are being stored.
-
withDomainName
public BatchPutAttributesRequest withDomainName(String domainName)
The name of the domain in which the attributes are being stored.- Parameters:
domainName
- The name of the domain in which the attributes are being stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
public List<ReplaceableItem> 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<ReplaceableItem> 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 BatchPutAttributesRequest withItems(ReplaceableItem... items)
A list of items on which to perform the operation.NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
orwithItems(java.util.Collection)
if you want to override the existing values.- Parameters:
items
- A list of items on which to perform the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
public BatchPutAttributesRequest withItems(Collection<ReplaceableItem> items)
A list of items on which to perform the operation.- Parameters:
items
- A list of items on which to perform the operation.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BatchPutAttributesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-