@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRecordResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output for PutRecord
.
Constructor and Description |
---|
PutRecordResult() |
Modifier and Type | Method and Description |
---|---|
PutRecordResult |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionType()
The encryption type to use on the record.
|
String |
getSequenceNumber()
The sequence number identifier that was assigned to the put data record.
|
String |
getShardId()
The shard ID of the shard where the data record was placed.
|
int |
hashCode() |
void |
setEncryptionType(EncryptionType encryptionType)
The encryption type to use on the record.
|
void |
setEncryptionType(String encryptionType)
The encryption type to use on the record.
|
void |
setSequenceNumber(String sequenceNumber)
The sequence number identifier that was assigned to the put data record.
|
void |
setShardId(String shardId)
The shard ID of the shard where the data record was placed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutRecordResult |
withEncryptionType(EncryptionType encryptionType)
The encryption type to use on the record.
|
PutRecordResult |
withEncryptionType(String encryptionType)
The encryption type to use on the record.
|
PutRecordResult |
withSequenceNumber(String sequenceNumber)
The sequence number identifier that was assigned to the put data record.
|
PutRecordResult |
withShardId(String shardId)
The shard ID of the shard where the data record was placed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setShardId(String shardId)
The shard ID of the shard where the data record was placed.
shardId
- The shard ID of the shard where the data record was placed.public String getShardId()
The shard ID of the shard where the data record was placed.
public PutRecordResult withShardId(String shardId)
The shard ID of the shard where the data record was placed.
shardId
- The shard ID of the shard where the data record was placed.public void setSequenceNumber(String sequenceNumber)
The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
sequenceNumber
- The sequence number identifier that was assigned to the put data record. The sequence number for the
record is unique across all records in the stream. A sequence number is the identifier associated with
every record put into the stream.public String getSequenceNumber()
The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
public PutRecordResult withSequenceNumber(String sequenceNumber)
The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
sequenceNumber
- The sequence number identifier that was assigned to the put data record. The sequence number for the
record is unique across all records in the stream. A sequence number is the identifier associated with
every record put into the stream.public void setEncryptionType(String encryptionType)
The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType
- The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionType
public String getEncryptionType()
The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS key.
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionType
public PutRecordResult withEncryptionType(String encryptionType)
The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType
- The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionType
public void setEncryptionType(EncryptionType encryptionType)
The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType
- The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionType
public PutRecordResult withEncryptionType(EncryptionType encryptionType)
The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS key.
encryptionType
- The encryption type to use on the record. This parameter can be one of the following values:
NONE
: Do not encrypt the records in the stream.
KMS
: Use server-side encryption on the records in the stream using a customer-managed KMS
key.
EncryptionType
public String toString()
toString
in class Object
Object.toString()
public PutRecordResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.