@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutItemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutItemsRequest() |
Modifier and Type | Method and Description |
---|---|
PutItemsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetArn()
The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.
|
List<Item> |
getItems()
A list of item data.
|
int |
hashCode() |
void |
setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.
|
void |
setItems(Collection<Item> items)
A list of item data.
|
String |
toString()
Returns a string representation of this object.
|
PutItemsRequest |
withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.
|
PutItemsRequest |
withItems(Collection<Item> items)
A list of item data.
|
PutItemsRequest |
withItems(Item... items)
A list of item data.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.
datasetArn
- The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.public String getDatasetArn()
The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.
public PutItemsRequest withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.
datasetArn
- The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.public void setItems(Collection<Item> items)
A list of item data.
items
- A list of item data.public PutItemsRequest withItems(Item... items)
A list of item data.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- A list of item data.public PutItemsRequest withItems(Collection<Item> items)
A list of item data.
items
- A list of item data.public String toString()
toString
in class Object
Object.toString()
public PutItemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()