@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRecordsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
PutRecords results.
| Constructor and Description |
|---|
PutRecordsResult() |
| Modifier and Type | Method and Description |
|---|---|
PutRecordsResult |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionType()
The encryption type used on the records.
|
Integer |
getFailedRecordCount()
The number of unsuccessfully processed records in a
PutRecords request. |
List<PutRecordsResultEntry> |
getRecords()
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering.
|
int |
hashCode() |
void |
setEncryptionType(EncryptionType encryptionType)
The encryption type used on the records.
|
void |
setEncryptionType(String encryptionType)
The encryption type used on the records.
|
void |
setFailedRecordCount(Integer failedRecordCount)
The number of unsuccessfully processed records in a
PutRecords request. |
void |
setRecords(Collection<PutRecordsResultEntry> records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutRecordsResult |
withEncryptionType(EncryptionType encryptionType)
The encryption type used on the records.
|
PutRecordsResult |
withEncryptionType(String encryptionType)
The encryption type used on the records.
|
PutRecordsResult |
withFailedRecordCount(Integer failedRecordCount)
The number of unsuccessfully processed records in a
PutRecords request. |
PutRecordsResult |
withRecords(Collection<PutRecordsResultEntry> records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering.
|
PutRecordsResult |
withRecords(PutRecordsResultEntry... records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setFailedRecordCount(Integer failedRecordCount)
The number of unsuccessfully processed records in a PutRecords request.
failedRecordCount - The number of unsuccessfully processed records in a PutRecords request.public Integer getFailedRecordCount()
The number of unsuccessfully processed records in a PutRecords request.
PutRecords request.public PutRecordsResult withFailedRecordCount(Integer failedRecordCount)
The number of unsuccessfully processed records in a PutRecords request.
failedRecordCount - The number of unsuccessfully processed records in a PutRecords request.public List<PutRecordsResultEntry> getRecords()
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes ErrorCode
and ErrorMessage in the result.
SequenceNumber
and ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.public void setRecords(Collection<PutRecordsResultEntry> records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes ErrorCode
and ErrorMessage in the result.
records - An array of successfully and unsuccessfully processed record results, correlated with the request by
natural ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.public PutRecordsResult withRecords(PutRecordsResultEntry... records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes ErrorCode
and ErrorMessage in the result.
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 - An array of successfully and unsuccessfully processed record results, correlated with the request by
natural ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.public PutRecordsResult withRecords(Collection<PutRecordsResultEntry> records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes ErrorCode
and ErrorMessage in the result.
records - An array of successfully and unsuccessfully processed record results, correlated with the request by
natural ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.public void setEncryptionType(String encryptionType)
The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
encryptionType - The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
EncryptionTypepublic String getEncryptionType()
The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
EncryptionTypepublic PutRecordsResult withEncryptionType(String encryptionType)
The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
encryptionType - The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
EncryptionTypepublic void setEncryptionType(EncryptionType encryptionType)
The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
encryptionType - The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
EncryptionTypepublic PutRecordsResult withEncryptionType(EncryptionType encryptionType)
The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
encryptionType - The encryption type used on the records. This parameter can be one of the following values:
NONE: Do not encrypt the records.
KMS: Use server-side encryption on the records using a customer-managed KMS key.
EncryptionTypepublic String toString()
toString in class ObjectObject.toString()public PutRecordsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.