Interface PublishBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PublishBatchResponse.Builder,
,PublishBatchResponse> SdkBuilder<PublishBatchResponse.Builder,
,PublishBatchResponse> SdkPojo
,SdkResponse.Builder
,SnsResponse.Builder
- Enclosing class:
PublishBatchResponse
@Mutable
@NotThreadSafe
public static interface PublishBatchResponse.Builder
extends SnsResponse.Builder, SdkPojo, CopyableBuilder<PublishBatchResponse.Builder,PublishBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailed
(Collection<BatchResultErrorEntry> failed) A list of failedPublishBatch
responses.failed
(Consumer<BatchResultErrorEntry.Builder>... failed) A list of failedPublishBatch
responses.failed
(BatchResultErrorEntry... failed) A list of failedPublishBatch
responses.successful
(Collection<PublishBatchResultEntry> successful) A list of successfulPublishBatch
responses.successful
(Consumer<PublishBatchResultEntry.Builder>... successful) A list of successfulPublishBatch
responses.successful
(PublishBatchResultEntry... successful) A list of successfulPublishBatch
responses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
successful
A list of successful
PublishBatch
responses.- Parameters:
successful
- A list of successfulPublishBatch
responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of successful
PublishBatch
responses.- Parameters:
successful
- A list of successfulPublishBatch
responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of successful
This is a convenience method that creates an instance of thePublishBatch
responses.PublishBatchResultEntry.Builder
avoiding the need to create one manually viaPublishBatchResultEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessful(List<PublishBatchResultEntry>)
.- Parameters:
successful
- a consumer that will call methods onPublishBatchResultEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of failed
PublishBatch
responses.- Parameters:
failed
- A list of failedPublishBatch
responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of failed
PublishBatch
responses.- Parameters:
failed
- A list of failedPublishBatch
responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of failed
This is a convenience method that creates an instance of thePublishBatch
responses.BatchResultErrorEntry.Builder
avoiding the need to create one manually viaBatchResultErrorEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailed(List<BatchResultErrorEntry>)
.- Parameters:
failed
- a consumer that will call methods onBatchResultErrorEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-