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.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutRecordsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutRecordsRequest.Builderrecords(Collection<PutRecordsRequestEntry> records)The records associated with the request.PutRecordsRequest.Builderrecords(Consumer<PutRecordsRequestEntry.Builder>... records)The records associated with the request.PutRecordsRequest.Builderrecords(PutRecordsRequestEntry... records)The records associated with the request.PutRecordsRequest.BuilderstreamARN(String streamARN)The ARN of the stream.PutRecordsRequest.BuilderstreamName(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaPutRecordsRequestEntry.builder().When the
Consumercompletes,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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-