Interface BatchPutMessageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchPutMessageResponse.Builder,,BatchPutMessageResponse> IoTAnalyticsResponse.Builder,SdkBuilder<BatchPutMessageResponse.Builder,,BatchPutMessageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchPutMessageResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaBatchPutMessageErrorEntry.builder().When the
Consumercompletes,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:
-