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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPageReceiptsResponse.BuildernextToken(String nextToken)The pagination token to continue to the next page of results.ListPageReceiptsResponse.Builderreceipts(Collection<Receipt> receipts)A list of each acknowledgement.ListPageReceiptsResponse.Builderreceipts(Consumer<Receipt.Builder>... receipts)A list of each acknowledgement.ListPageReceiptsResponse.Builderreceipts(Receipt... receipts)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 Detail
-
nextToken
ListPageReceiptsResponse.Builder nextToken(String 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
ListPageReceiptsResponse.Builder receipts(Collection<Receipt> 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
ListPageReceiptsResponse.Builder receipts(Receipt... 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
ListPageReceiptsResponse.Builder receipts(Consumer<Receipt.Builder>... receipts)
A list of each acknowledgement.
This is a convenience method that creates an instance of theReceipt.Builderavoiding the need to create one manually viaReceipt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#receipts(List.) - 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:
#receipts(java.util.Collection)
-
-