com.amazonaws.services.simpledb.model
Class PutAttributesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpledb.model.PutAttributesRequest

public class PutAttributesRequest
extends AmazonWebServiceRequest

Put Attributes Request


Constructor Summary
PutAttributesRequest()
          Default constructor for a new PutAttributesRequest object.
PutAttributesRequest(String domainName, String itemName, List<ReplaceableAttribute> attributes)
          Constructs a new PutAttributesRequest object and initializes the specified object members.
 
Method Summary
 List<ReplaceableAttribute> getAttributes()
          The list of attributes.
 String getDomainName()
          The name of the domain in which to perform the operation.
 UpdateCondition getExpected()
          The update condition which, if specified, determines whether the specified attributes will be updated or not.
 String getItemName()
          The name of the item.
 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.
 String toString()
           
 PutAttributesRequest withAttributes(Collection<ReplaceableAttribute> attributes)
          The list of attributes.
 PutAttributesRequest withAttributes(ReplaceableAttribute... attributes)
          The list of attributes.
 PutAttributesRequest withDomainName(String domainName)
          The name of the domain in which to perform the operation.
 PutAttributesRequest withExpected(UpdateCondition expected)
          The update condition which, if specified, determines whether the specified attributes will be updated or not.
 PutAttributesRequest withItemName(String itemName)
          The name of the item.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PutAttributesRequest

public PutAttributesRequest()
Default constructor for a new PutAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


PutAttributesRequest

public PutAttributesRequest(String domainName,
                            String itemName,
                            List<ReplaceableAttribute> attributes)
Constructs a new PutAttributesRequest object and initializes the specified object members. 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.
Method Detail

getDomainName

public String getDomainName()
The name of the domain in which to perform the operation.

Returns:
The name of the domain in which to perform the operation.

setDomainName

public void setDomainName(String domainName)
The name of the domain in which to perform the operation.

Parameters:
domainName - The name of the domain in which to perform the operation.

withDomainName

public PutAttributesRequest withDomainName(String domainName)
The name of the domain in which to perform the operation.

Returns a reference to this object so that method calls can be chained together.

Parameters:
domainName - The name of the domain in which to perform the operation.
Returns:
A reference to this updated object so that method calls can be chained together.

getItemName

public String getItemName()
The name of the item.

Returns:
The name of the item.

setItemName

public void setItemName(String itemName)
The name of the item.

Parameters:
itemName - The name of the item.

withItemName

public PutAttributesRequest withItemName(String itemName)
The name of the item.

Returns a reference to this object so that method calls can be chained together.

Parameters:
itemName - The name of the item.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributes

public List<ReplaceableAttribute> getAttributes()
The list of attributes.

Returns:
The list of attributes.

setAttributes

public void setAttributes(Collection<ReplaceableAttribute> attributes)
The list of attributes.

Parameters:
attributes - The list of attributes.

withAttributes

public PutAttributesRequest withAttributes(ReplaceableAttribute... attributes)
The list of attributes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributes - The list of attributes.
Returns:
A reference to this updated object so that method calls can be chained together.

withAttributes

public PutAttributesRequest withAttributes(Collection<ReplaceableAttribute> attributes)
The list of attributes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributes - The list of attributes.
Returns:
A reference to this updated object so that method calls can be chained together.

getExpected

public UpdateCondition 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.

setExpected

public void setExpected(UpdateCondition 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.

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.

withExpected

public PutAttributesRequest withExpected(UpdateCondition 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.