public class PutRecordRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the parameters for PutRecord.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
deliveryStreamName
The name of the delivery stream.
|
private Record |
record
The record.
|
NOOP
Constructor and Description |
---|
PutRecordRequest() |
Modifier and Type | Method and Description |
---|---|
PutRecordRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeliveryStreamName()
The name of the delivery stream.
|
Record |
getRecord()
The record.
|
int |
hashCode() |
void |
setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
void |
setRecord(Record record)
The record.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutRecordRequest |
withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
|
PutRecordRequest |
withRecord(Record record)
The record.
|
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
private java.lang.String deliveryStreamName
The name of the delivery stream.
private Record record
The record.
public void setDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public java.lang.String getDeliveryStreamName()
The name of the delivery stream.
public PutRecordRequest withDeliveryStreamName(java.lang.String deliveryStreamName)
The name of the delivery stream.
deliveryStreamName
- The name of the delivery stream.public void setRecord(Record record)
The record.
record
- The record.public Record getRecord()
The record.
public PutRecordRequest withRecord(Record record)
The record.
record
- The record.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutRecordRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()