public static interface PutRecordsRequest.Builder extends KinesisRequest.Builder, CopyableBuilder<PutRecordsRequest.Builder,PutRecordsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutRecordsRequest.Builder |
records(Collection<PutRecordsRequestEntry> records)
The records associated with the request.
|
PutRecordsRequest.Builder |
records(Consumer<PutRecordsRequestEntry.Builder>... records)
The records associated with the request.
|
PutRecordsRequest.Builder |
records(PutRecordsRequestEntry... records)
The records associated with the request.
|
PutRecordsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutRecordsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
PutRecordsRequest.Builder |
streamName(String streamName)
The stream name associated with the request.
|
buildrequestOverrideConfigcopyapply, buildPutRecordsRequest.Builder records(Collection<PutRecordsRequestEntry> records)
The records associated with the request.
records - The records associated with the request.PutRecordsRequest.Builder records(PutRecordsRequestEntry... records)
The records associated with the request.
records - The records associated with the request.PutRecordsRequest.Builder records(Consumer<PutRecordsRequestEntry.Builder>... records)
The records associated with the request.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #records(List) .records - a consumer that will call methods on List.Builder #records(List) PutRecordsRequest.Builder streamName(String streamName)
The stream name associated with the request.
streamName - The stream name associated with the request.PutRecordsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutRecordsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.