public static interface PublishBatchResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<PublishBatchResponse.Builder,PublishBatchResponse>
| Modifier and Type | Method and Description |
|---|---|
PublishBatchResponse.Builder |
failed(BatchResultErrorEntry... failed)
A list of failed
PublishBatch responses. |
PublishBatchResponse.Builder |
failed(Collection<BatchResultErrorEntry> failed)
A list of failed
PublishBatch responses. |
PublishBatchResponse.Builder |
failed(Consumer<BatchResultErrorEntry.Builder>... failed)
A list of failed
PublishBatch responses. |
PublishBatchResponse.Builder |
successful(Collection<PublishBatchResultEntry> successful)
A list of successful
PublishBatch responses. |
PublishBatchResponse.Builder |
successful(Consumer<PublishBatchResultEntry.Builder>... successful)
A list of successful
PublishBatch responses. |
PublishBatchResponse.Builder |
successful(PublishBatchResultEntry... successful)
A list of successful
PublishBatch responses. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPublishBatchResponse.Builder successful(Collection<PublishBatchResultEntry> successful)
A list of successful PublishBatch responses.
successful - A list of successful PublishBatch responses.PublishBatchResponse.Builder successful(PublishBatchResultEntry... successful)
A list of successful PublishBatch responses.
successful - A list of successful PublishBatch responses.PublishBatchResponse.Builder successful(Consumer<PublishBatchResultEntry.Builder>... successful)
A list of successful PublishBatch responses.
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) PublishBatchResponse.Builder failed(Collection<BatchResultErrorEntry> failed)
A list of failed PublishBatch responses.
failed - A list of failed PublishBatch responses.PublishBatchResponse.Builder failed(BatchResultErrorEntry... failed)
A list of failed PublishBatch responses.
failed - A list of failed PublishBatch responses.PublishBatchResponse.Builder failed(Consumer<BatchResultErrorEntry.Builder>... failed)
A list of failed PublishBatch responses.
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 © 2022. All rights reserved.