public static interface PutRecordsResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<PutRecordsResponse.Builder,PutRecordsResponse>
| Modifier and Type | Method and Description |
|---|---|
PutRecordsResponse.Builder |
encryptionType(EncryptionType encryptionType)
The encryption type used on the records.
|
PutRecordsResponse.Builder |
encryptionType(String encryptionType)
The encryption type used on the records.
|
PutRecordsResponse.Builder |
failedRecordCount(Integer failedRecordCount)
The number of unsuccessfully processed records in a
PutRecords request. |
PutRecordsResponse.Builder |
records(Collection<PutRecordsResultEntry> records)
An array of successfully and unsuccessfully processed record results.
|
PutRecordsResponse.Builder |
records(Consumer<PutRecordsResultEntry.Builder>... records)
An array of successfully and unsuccessfully processed record results.
|
PutRecordsResponse.Builder |
records(PutRecordsResultEntry... records)
An array of successfully and unsuccessfully processed record results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutRecordsResponse.Builder failedRecordCount(Integer failedRecordCount)
The number of unsuccessfully processed records in a PutRecords request.
failedRecordCount - The number of unsuccessfully processed records in a PutRecords request.PutRecordsResponse.Builder records(Collection<PutRecordsResultEntry> records)
An array of successfully and unsuccessfully processed record results. 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. 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.PutRecordsResponse.Builder records(PutRecordsResultEntry... records)
An array of successfully and unsuccessfully processed record results. 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. 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.PutRecordsResponse.Builder records(Consumer<PutRecordsResultEntry.Builder>... records)
An array of successfully and unsuccessfully processed record results. 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.
PutRecordsResultEntry.Builder avoiding the need to
create one manually via PutRecordsResultEntry.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #records(List.
records - a consumer that will call methods on
PutRecordsResultEntry.Builder#records(java.util.Collection) PutRecordsResponse.Builder encryptionType(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 Amazon Web Services 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 Amazon Web
Services KMS key.
EncryptionType,
EncryptionTypePutRecordsResponse.Builder encryptionType(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 Amazon Web Services 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 Amazon Web
Services KMS key.
EncryptionType,
EncryptionTypeCopyright © 2023. All rights reserved.