public static interface PutRecordsRequest.Builder extends KinesisRequest.Builder, CopyableBuilder<PutRecordsRequest.Builder,PutRecordsRequest>
Modifier and Type | Method and Description |
---|---|
PutRecordsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutRecordsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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 |
streamName(String streamName)
The stream name associated with the request.
|
build
overrideConfiguration
copy
applyMutation, build
PutRecordsRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.