public static interface SendMessageBatchResponse.Builder extends SQSResponse.Builder, CopyableBuilder<SendMessageBatchResponse.Builder,SendMessageBatchResponse>
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildSendMessageBatchResponse.Builder successful(Collection<SendMessageBatchResultEntry> successful)
A list of SendMessageBatchResultEntry items.
successful - A list of SendMessageBatchResultEntry items.SendMessageBatchResponse.Builder successful(SendMessageBatchResultEntry... successful)
A list of SendMessageBatchResultEntry items.
successful - A list of SendMessageBatchResultEntry items.SendMessageBatchResponse.Builder successful(Consumer<SendMessageBatchResultEntry.Builder>... successful)
A list of SendMessageBatchResultEntry items.
List.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 #successful(List) .successful - a consumer that will call methods on List.Builder #successful(List) SendMessageBatchResponse.Builder failed(Collection<BatchResultErrorEntry> failed)
A list of BatchResultErrorEntry items with error details about each message that can't
be enqueued.
failed - A list of BatchResultErrorEntry items with error details about each message that
can't be enqueued.SendMessageBatchResponse.Builder failed(BatchResultErrorEntry... failed)
A list of BatchResultErrorEntry items with error details about each message that can't
be enqueued.
failed - A list of BatchResultErrorEntry items with error details about each message that
can't be enqueued.SendMessageBatchResponse.Builder failed(Consumer<BatchResultErrorEntry.Builder>... failed)
A list of BatchResultErrorEntry items with error details about each message that can't
be enqueued.
List.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 #failed(List) .failed - a consumer that will call methods on List.Builder #failed(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.