@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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 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 Object
Object.toString()
public PutRecordsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.