Interface DeleteMessageBatchResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DeleteMessageBatchResponse.Builder,,DeleteMessageBatchResponse> SdkBuilder<DeleteMessageBatchResponse.Builder,,DeleteMessageBatchResponse> SdkPojo,SdkResponse.Builder,SqsResponse.Builder
- Enclosing class:
 DeleteMessageBatchResponse
@Mutable
@NotThreadSafe
public static interface DeleteMessageBatchResponse.Builder
extends SqsResponse.Builder, SdkPojo, CopyableBuilder<DeleteMessageBatchResponse.Builder,DeleteMessageBatchResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchResultErrorEntry> failed) A list ofBatchResultErrorEntryitems.failed(Consumer<BatchResultErrorEntry.Builder>... failed) A list ofBatchResultErrorEntryitems.failed(BatchResultErrorEntry... failed) A list ofBatchResultErrorEntryitems.successful(Collection<DeleteMessageBatchResultEntry> successful) A list ofDeleteMessageBatchResultEntryitems.successful(Consumer<DeleteMessageBatchResultEntry.Builder>... successful) A list ofDeleteMessageBatchResultEntryitems.successful(DeleteMessageBatchResultEntry... successful) A list ofDeleteMessageBatchResultEntryitems.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sqs.model.SqsResponse.Builder
build, responseMetadata, responseMetadata 
- 
Method Details
- 
successful
A list of
DeleteMessageBatchResultEntryitems.- Parameters:
 successful- A list ofDeleteMessageBatchResultEntryitems.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
successful
A list of
DeleteMessageBatchResultEntryitems.- Parameters:
 successful- A list ofDeleteMessageBatchResultEntryitems.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
successful
DeleteMessageBatchResponse.Builder successful(Consumer<DeleteMessageBatchResultEntry.Builder>... successful) A list of
This is a convenience method that creates an instance of theDeleteMessageBatchResultEntryitems.DeleteMessageBatchResultEntry.Builderavoiding the need to create one manually viaDeleteMessageBatchResultEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<DeleteMessageBatchResultEntry>).- Parameters:
 successful- a consumer that will call methods onDeleteMessageBatchResultEntry.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
failed
A list of
BatchResultErrorEntryitems.- Parameters:
 failed- A list ofBatchResultErrorEntryitems.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
failed
A list of
BatchResultErrorEntryitems.- Parameters:
 failed- A list ofBatchResultErrorEntryitems.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
failed
A list of
This is a convenience method that creates an instance of theBatchResultErrorEntryitems.BatchResultErrorEntry.Builderavoiding the need to create one manually viaBatchResultErrorEntry.builder().When the
Consumercompletes,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:
 
 
 -