Class PutAttributesRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpledb.model.PutAttributesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PutAttributesRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for PutAttributesRequest object.PutAttributesRequest
(String domainName, String itemName, List<ReplaceableAttribute> attributes) Constructs a new PutAttributesRequest object.PutAttributesRequest
(String domainName, String itemName, List<ReplaceableAttribute> attributes, UpdateCondition expected) Constructs a new PutAttributesRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The list of attributes.The name of the domain in which to perform the operation.The update condition which, if specified, determines whether the specified attributes will be updated or not.The name of the item.int
hashCode()
void
setAttributes
(Collection<ReplaceableAttribute> attributes) The list of attributes.void
setDomainName
(String domainName) The name of the domain in which to perform the operation.void
setExpected
(UpdateCondition expected) The update condition which, if specified, determines whether the specified attributes will be updated or not.void
setItemName
(String itemName) The name of the item.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributes
(ReplaceableAttribute... attributes) The list of attributes.withAttributes
(Collection<ReplaceableAttribute> attributes) The list of attributes.withDomainName
(String domainName) The name of the domain in which to perform the operation.withExpected
(UpdateCondition expected) The update condition which, if specified, determines whether the specified attributes will be updated or not.withItemName
(String itemName) The name of the item.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 Details
-
PutAttributesRequest
public PutAttributesRequest()Default constructor for PutAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
PutAttributesRequest
public PutAttributesRequest(String domainName, String itemName, List<ReplaceableAttribute> attributes) Constructs a new PutAttributesRequest 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 to perform the operation.itemName
- The name of the item.attributes
- The list of attributes.
-
PutAttributesRequest
public PutAttributesRequest(String domainName, String itemName, List<ReplaceableAttribute> attributes, UpdateCondition expected) Constructs a new PutAttributesRequest 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 to perform the operation.itemName
- The name of the item.attributes
- The list of attributes.expected
- The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.
-
-
Method Details
-
setDomainName
The name of the domain in which to perform the operation.- Parameters:
domainName
- The name of the domain in which to perform the operation.
-
getDomainName
The name of the domain in which to perform the operation.- Returns:
- The name of the domain in which to perform the operation.
-
withDomainName
The name of the domain in which to perform the operation.- Parameters:
domainName
- The name of the domain in which to perform the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setItemName
The name of the item.- Parameters:
itemName
- The name of the item.
-
getItemName
The name of the item.- Returns:
- The name of the item.
-
withItemName
The name of the item.- Parameters:
itemName
- The name of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
The list of attributes.- Returns:
- The list of attributes.
-
setAttributes
The list of attributes.- Parameters:
attributes
- The list of attributes.
-
withAttributes
The list of attributes.NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- The list of attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
The list of attributes.- Parameters:
attributes
- The list of attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpected
The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.- Parameters:
expected
- The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.
-
getExpected
The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.- Returns:
- The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.
-
withExpected
The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.- Parameters:
expected
- The update condition which, if specified, determines whether the specified attributes will be updated or not. The update condition must be satisfied in order for this request to be processed and the attributes to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-