Interface ListPageReceiptsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPageReceiptsResponse.Builder,
,ListPageReceiptsResponse> SdkBuilder<ListPageReceiptsResponse.Builder,
,ListPageReceiptsResponse> SdkPojo
,SdkResponse.Builder
,SsmContactsResponse.Builder
- Enclosing class:
ListPageReceiptsResponse
public static interface ListPageReceiptsResponse.Builder
extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListPageReceiptsResponse.Builder,ListPageReceiptsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to continue to the next page of results.receipts
(Collection<Receipt> receipts) A list of each acknowledgement.receipts
(Consumer<Receipt.Builder>... receipts) A list of each acknowledgement.A list of each acknowledgement.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.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token to continue to the next page of results.
- Parameters:
nextToken
- The pagination token to continue to the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receipts
A list of each acknowledgement.
- Parameters:
receipts
- A list of each acknowledgement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receipts
A list of each acknowledgement.
- Parameters:
receipts
- A list of each acknowledgement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receipts
A list of each acknowledgement.
This is a convenience method that creates an instance of theReceipt.Builder
avoiding the need to create one manually viaReceipt.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreceipts(List<Receipt>)
.- Parameters:
receipts
- a consumer that will call methods onReceipt.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-