Interface PutRecordsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutRecordsRequest.Builder,PutRecordsRequest>
,KinesisRequest.Builder
,SdkBuilder<PutRecordsRequest.Builder,PutRecordsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- PutRecordsRequest
public static interface PutRecordsRequest.Builder extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<PutRecordsRequest.Builder,PutRecordsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutRecordsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutRecordsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
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
streamARN(String streamARN)
The ARN of the stream.PutRecordsRequest.Builder
streamName(String streamName)
The stream name associated with the request.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
records
PutRecordsRequest.Builder records(Collection<PutRecordsRequestEntry> records)
The records associated with the request.
- Parameters:
records
- The records associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
PutRecordsRequest.Builder records(PutRecordsRequestEntry... records)
The records associated with the request.
- Parameters:
records
- The records associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
PutRecordsRequest.Builder records(Consumer<PutRecordsRequestEntry.Builder>... records)
The records associated with the request.
This is a convenience method that creates an instance of thePutRecordsRequestEntry.Builder
avoiding the need to create one manually viaPutRecordsRequestEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#records(List
.) - Parameters:
records
- a consumer that will call methods onPutRecordsRequestEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#records(java.util.Collection
)
-
streamName
PutRecordsRequest.Builder streamName(String streamName)
The stream name associated with the request.
- Parameters:
streamName
- The stream name associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
PutRecordsRequest.Builder streamARN(String streamARN)
The ARN of the stream.
- Parameters:
streamARN
- The ARN of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-