Interface ChangeMessageVisibilityBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ChangeMessageVisibilityBatchResponse.Builder,
,ChangeMessageVisibilityBatchResponse> SdkBuilder<ChangeMessageVisibilityBatchResponse.Builder,
,ChangeMessageVisibilityBatchResponse> SdkPojo
,SdkResponse.Builder
,SqsResponse.Builder
- Enclosing class:
ChangeMessageVisibilityBatchResponse
public static interface ChangeMessageVisibilityBatchResponse.Builder
extends SqsResponse.Builder, SdkPojo, CopyableBuilder<ChangeMessageVisibilityBatchResponse.Builder,ChangeMessageVisibilityBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailed
(Collection<BatchResultErrorEntry> failed) A list ofBatchResultErrorEntry
items.failed
(Consumer<BatchResultErrorEntry.Builder>... failed) A list ofBatchResultErrorEntry
items.failed
(BatchResultErrorEntry... failed) A list ofBatchResultErrorEntry
items.successful
(Collection<ChangeMessageVisibilityBatchResultEntry> successful) A list ofChangeMessageVisibilityBatchResultEntry
items.successful
(Consumer<ChangeMessageVisibilityBatchResultEntry.Builder>... successful) A list ofChangeMessageVisibilityBatchResultEntry
items.successful
(ChangeMessageVisibilityBatchResultEntry... successful) A list ofChangeMessageVisibilityBatchResultEntry
items.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sqs.model.SqsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
successful
ChangeMessageVisibilityBatchResponse.Builder successful(Collection<ChangeMessageVisibilityBatchResultEntry> successful) A list of
ChangeMessageVisibilityBatchResultEntry
items.- Parameters:
successful
- A list ofChangeMessageVisibilityBatchResultEntry
items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
ChangeMessageVisibilityBatchResponse.Builder successful(ChangeMessageVisibilityBatchResultEntry... successful) A list of
ChangeMessageVisibilityBatchResultEntry
items.- Parameters:
successful
- A list ofChangeMessageVisibilityBatchResultEntry
items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
ChangeMessageVisibilityBatchResponse.Builder successful(Consumer<ChangeMessageVisibilityBatchResultEntry.Builder>... successful) A list of
This is a convenience method that creates an instance of theChangeMessageVisibilityBatchResultEntry
items.ChangeMessageVisibilityBatchResultEntry.Builder
avoiding the need to create one manually viaChangeMessageVisibilityBatchResultEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessful(List<ChangeMessageVisibilityBatchResultEntry>)
.- Parameters:
successful
- a consumer that will call methods onChangeMessageVisibilityBatchResultEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of
BatchResultErrorEntry
items.- Parameters:
failed
- A list ofBatchResultErrorEntry
items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of
BatchResultErrorEntry
items.- Parameters:
failed
- A list ofBatchResultErrorEntry
items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
ChangeMessageVisibilityBatchResponse.Builder failed(Consumer<BatchResultErrorEntry.Builder>... failed) A list of
This is a convenience method that creates an instance of theBatchResultErrorEntry
items.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:
-