@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRecordBatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutRecordBatchRequest() |
Modifier and Type | Method and Description |
---|---|
PutRecordBatchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDeliveryStreamName()
The name of the delivery stream.
|
List<Record> |
getRecords()
One or more records.
|
int |
hashCode() |
void |
setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
|
void |
setRecords(Collection<Record> records)
One or more records.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutRecordBatchRequest |
withDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
|
PutRecordBatchRequest |
withRecords(Collection<Record> records)
One or more records.
|
PutRecordBatchRequest |
withRecords(Record... records)
One or more records.
|
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 setDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public String getDeliveryStreamName()
The name of the delivery stream.
public PutRecordBatchRequest withDeliveryStreamName(String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public void setRecords(Collection<Record> records)
One or more records.
records
- One or more records.public PutRecordBatchRequest withRecords(Record... records)
One or more records.
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
- One or more records.public PutRecordBatchRequest withRecords(Collection<Record> records)
One or more records.
records
- One or more records.public String toString()
toString
in class Object
Object.toString()
public PutRecordBatchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.