Interface ListCustomLineItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingconductorResponse.Builder
,Buildable
,CopyableBuilder<ListCustomLineItemsResponse.Builder,
,ListCustomLineItemsResponse> SdkBuilder<ListCustomLineItemsResponse.Builder,
,ListCustomLineItemsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCustomLineItemsResponse
@Mutable
@NotThreadSafe
public static interface ListCustomLineItemsResponse.Builder
extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListCustomLineItemsResponse.Builder,ListCustomLineItemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncustomLineItems
(Collection<CustomLineItemListElement> customLineItems) A list ofFreeFormLineItemListElements
received.customLineItems
(Consumer<CustomLineItemListElement.Builder>... customLineItems) A list ofFreeFormLineItemListElements
received.customLineItems
(CustomLineItemListElement... customLineItems) A list ofFreeFormLineItemListElements
received.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
customLineItems
ListCustomLineItemsResponse.Builder customLineItems(Collection<CustomLineItemListElement> customLineItems) A list of
FreeFormLineItemListElements
received.- Parameters:
customLineItems
- A list ofFreeFormLineItemListElements
received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLineItems
A list of
FreeFormLineItemListElements
received.- Parameters:
customLineItems
- A list ofFreeFormLineItemListElements
received.- 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 theFreeFormLineItemListElements
received.CustomLineItemListElement.Builder
avoiding the need to create one manually viaCustomLineItemListElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomLineItems(List<CustomLineItemListElement>)
.- 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:
-
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.
-