Interface ListCustomLineItemsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BillingconductorResponse.Builder,Buildable,CopyableBuilder<ListCustomLineItemsResponse.Builder,ListCustomLineItemsResponse>,SdkBuilder<ListCustomLineItemsResponse.Builder,ListCustomLineItemsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCustomLineItemsResponse
public static interface ListCustomLineItemsResponse.Builder extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListCustomLineItemsResponse.Builder,ListCustomLineItemsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCustomLineItemsResponse.BuildercustomLineItems(Collection<CustomLineItemListElement> customLineItems)A list ofFreeFormLineItemListElementsreceived.ListCustomLineItemsResponse.BuildercustomLineItems(Consumer<CustomLineItemListElement.Builder>... customLineItems)A list ofFreeFormLineItemListElementsreceived.ListCustomLineItemsResponse.BuildercustomLineItems(CustomLineItemListElement... customLineItems)A list ofFreeFormLineItemListElementsreceived.ListCustomLineItemsResponse.BuildernextToken(String nextToken)The pagination token that's used on subsequent calls to get custom line items (FFLIs).-
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
customLineItems
ListCustomLineItemsResponse.Builder customLineItems(Collection<CustomLineItemListElement> customLineItems)
A list of
FreeFormLineItemListElementsreceived.- Parameters:
customLineItems- A list ofFreeFormLineItemListElementsreceived.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLineItems
ListCustomLineItemsResponse.Builder customLineItems(CustomLineItemListElement... customLineItems)
A list of
FreeFormLineItemListElementsreceived.- Parameters:
customLineItems- A list ofFreeFormLineItemListElementsreceived.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLineItems
ListCustomLineItemsResponse.Builder customLineItems(Consumer<CustomLineItemListElement.Builder>... customLineItems)
A list of
This is a convenience method that creates an instance of theFreeFormLineItemListElementsreceived.CustomLineItemListElement.Builderavoiding the need to create one manually viaCustomLineItemListElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customLineItems(List.) - Parameters:
customLineItems- a consumer that will call methods onCustomLineItemListElement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customLineItems(java.util.Collection)
-
nextToken
ListCustomLineItemsResponse.Builder nextToken(String nextToken)
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
- Parameters:
nextToken- The pagination token that's used on subsequent calls to get custom line items (FFLIs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-