@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() |
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.
|
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, copyBaseTo, 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()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.