Interface BatchPutMessageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchPutMessageResponse.Builder,
,BatchPutMessageResponse> IoTAnalyticsResponse.Builder
,SdkBuilder<BatchPutMessageResponse.Builder,
,BatchPutMessageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchPutMessageResponse
public static interface BatchPutMessageResponse.Builder
extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<BatchPutMessageResponse.Builder,BatchPutMessageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchPutMessageErrorEntries
(Collection<BatchPutMessageErrorEntry> batchPutMessageErrorEntries) A list of any errors encountered when sending the messages to the channel.batchPutMessageErrorEntries
(Consumer<BatchPutMessageErrorEntry.Builder>... batchPutMessageErrorEntries) A list of any errors encountered when sending the messages to the channel.batchPutMessageErrorEntries
(BatchPutMessageErrorEntry... batchPutMessageErrorEntries) A list of any errors encountered when sending the messages to the channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
batchPutMessageErrorEntries
BatchPutMessageResponse.Builder batchPutMessageErrorEntries(Collection<BatchPutMessageErrorEntry> batchPutMessageErrorEntries) A list of any errors encountered when sending the messages to the channel.
- Parameters:
batchPutMessageErrorEntries
- A list of any errors encountered when sending the messages to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchPutMessageErrorEntries
BatchPutMessageResponse.Builder batchPutMessageErrorEntries(BatchPutMessageErrorEntry... batchPutMessageErrorEntries) A list of any errors encountered when sending the messages to the channel.
- Parameters:
batchPutMessageErrorEntries
- A list of any errors encountered when sending the messages to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchPutMessageErrorEntries
BatchPutMessageResponse.Builder batchPutMessageErrorEntries(Consumer<BatchPutMessageErrorEntry.Builder>... batchPutMessageErrorEntries) A list of any errors encountered when sending the messages to the channel.
This is a convenience method that creates an instance of theBatchPutMessageErrorEntry.Builder
avoiding the need to create one manually viaBatchPutMessageErrorEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchPutMessageErrorEntries(List<BatchPutMessageErrorEntry>)
.- Parameters:
batchPutMessageErrorEntries
- a consumer that will call methods onBatchPutMessageErrorEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-