com.amazonaws.services.simpledb.model
Class BatchPutAttributesRequest

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

public class BatchPutAttributesRequest
extends AmazonWebServiceRequest

Batch Put Attributes Request


Constructor Summary
BatchPutAttributesRequest()
          Default constructor for a new BatchPutAttributesRequest object.
BatchPutAttributesRequest(String domainName, List<ReplaceableItem> items)
          Constructs a new BatchPutAttributesRequest object and initializes the specified object members.
 
Method Summary
 String getDomainName()
          The name of the domain to create.
 List<ReplaceableItem> getItems()
          A list of items on which to perform the operation.
 void setDomainName(String domainName)
          The name of the domain to create.
 void setItems(Collection<ReplaceableItem> items)
          A list of items on which to perform the operation.
 String toString()
           
 BatchPutAttributesRequest withDomainName(String domainName)
          The name of the domain to create.
 BatchPutAttributesRequest withItems(Collection<ReplaceableItem> items)
          A list of items on which to perform the operation.
 BatchPutAttributesRequest withItems(ReplaceableItem... items)
          A list of items on which to perform the operation.
 
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

BatchPutAttributesRequest

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


BatchPutAttributesRequest

public BatchPutAttributesRequest(String domainName,
                                 List<ReplaceableItem> items)
Constructs a new BatchPutAttributesRequest 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 to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
items - A list of items on which to perform the operation.
Method Detail

getDomainName

public String getDomainName()
The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.

Returns:
The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.

setDomainName

public void setDomainName(String domainName)
The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.

Parameters:
domainName - The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.

withDomainName

public BatchPutAttributesRequest withDomainName(String domainName)
The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.

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

Parameters:
domainName - The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
Returns:
A reference to this updated 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.

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

Parameters:
items - A list of items on which to perform the operation.
Returns:
A reference to this updated 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.

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

Parameters:
items - A list of items on which to perform the operation.
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.