public class PutRecordsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A PutRecords request.
NOOP| Constructor and Description |
|---|
PutRecordsRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutRecordsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<PutRecordsRequestEntry> |
getRecords()
The records associated with the request.
|
String |
getStreamName()
The stream name associated with the request.
|
int |
hashCode() |
void |
setRecords(Collection<PutRecordsRequestEntry> records)
The records associated with the request.
|
void |
setStreamName(String streamName)
The stream name associated with the request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutRecordsRequest |
withRecords(Collection<PutRecordsRequestEntry> records)
The records associated with the request.
|
PutRecordsRequest |
withRecords(PutRecordsRequestEntry... records)
The records associated with the request.
|
PutRecordsRequest |
withStreamName(String streamName)
The stream name associated with the request.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<PutRecordsRequestEntry> getRecords()
The records associated with the request.
public void setRecords(Collection<PutRecordsRequestEntry> records)
The records associated with the request.
records - The records associated with the request.public PutRecordsRequest withRecords(PutRecordsRequestEntry... records)
The records associated with the request.
NOTE: This method appends the values to the existing list (if
any). Use setRecords(java.util.Collection) or
withRecords(java.util.Collection) if you want to override the
existing values.
records - The records associated with the request.public PutRecordsRequest withRecords(Collection<PutRecordsRequestEntry> records)
The records associated with the request.
records - The records associated with the request.public void setStreamName(String streamName)
The stream name associated with the request.
streamName - The stream name associated with the request.public String getStreamName()
The stream name associated with the request.
public PutRecordsRequest withStreamName(String streamName)
The stream name associated with the request.
streamName - The stream name associated with the request.public String toString()
toString in class ObjectObject.toString()public PutRecordsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.