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
Modifier and TypeMethodDescriptioncustomLineItems(Collection<CustomLineItemListElement> customLineItems) A list ofFreeFormLineItemListElementsreceived.customLineItems(Consumer<CustomLineItemListElement.Builder>... customLineItems) A list ofFreeFormLineItemListElementsreceived.customLineItems(CustomLineItemListElement... customLineItems) A list ofFreeFormLineItemListElementsreceived.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 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.
-