Class PutRecordsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.kinesis.model.PutRecordsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A PutRecords
request.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The records associated with the request.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.toString()
Returns a string representation of this object; useful for testing and debugging.withRecords
(PutRecordsRequestEntry... records) The records associated with the request.withRecords
(Collection<PutRecordsRequestEntry> records) The records associated with the request.withStreamName
(String streamName) The stream name associated with the request.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
PutRecordsRequest
public PutRecordsRequest()
-
-
Method Details
-
getRecords
The records associated with the request.
- Returns:
- The records associated with the request.
-
setRecords
The records associated with the request.
- Parameters:
records
- The records associated with the request.
-
withRecords
The records associated with the request.
NOTE: This method appends the values to the existing list (if any). Use
setRecords(java.util.Collection)
orwithRecords(java.util.Collection)
if you want to override the existing values.- Parameters:
records
- The records associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRecords
The records associated with the request.
- Parameters:
records
- The records associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStreamName
The stream name associated with the request.
- Parameters:
streamName
- The stream name associated with the request.
-
getStreamName
The stream name associated with the request.
- Returns:
- The stream name associated with the request.
-
withStreamName
The stream name associated with the request.
- Parameters:
streamName
- The stream name associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-