Interface ListCustomLineItemVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingconductorResponse.Builder
,Buildable
,CopyableBuilder<ListCustomLineItemVersionsResponse.Builder,
,ListCustomLineItemVersionsResponse> SdkBuilder<ListCustomLineItemVersionsResponse.Builder,
,ListCustomLineItemVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCustomLineItemVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListCustomLineItemVersionsResponse.Builder
extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListCustomLineItemVersionsResponse.Builder,ListCustomLineItemVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncustomLineItemVersions
(Collection<CustomLineItemVersionListElement> customLineItemVersions) A list ofCustomLineItemVersionListElements
that are received.customLineItemVersions
(Consumer<CustomLineItemVersionListElement.Builder>... customLineItemVersions) A list ofCustomLineItemVersionListElements
that are received.customLineItemVersions
(CustomLineItemVersionListElement... customLineItemVersions) A list ofCustomLineItemVersionListElements
that are received.The pagination token that's used on subsequent calls to retrieve custom line item versions.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
-
customLineItemVersions
ListCustomLineItemVersionsResponse.Builder customLineItemVersions(Collection<CustomLineItemVersionListElement> customLineItemVersions) A list of
CustomLineItemVersionListElements
that are received.- Parameters:
customLineItemVersions
- A list ofCustomLineItemVersionListElements
that are received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLineItemVersions
ListCustomLineItemVersionsResponse.Builder customLineItemVersions(CustomLineItemVersionListElement... customLineItemVersions) A list of
CustomLineItemVersionListElements
that are received.- Parameters:
customLineItemVersions
- A list ofCustomLineItemVersionListElements
that are received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLineItemVersions
ListCustomLineItemVersionsResponse.Builder customLineItemVersions(Consumer<CustomLineItemVersionListElement.Builder>... customLineItemVersions) A list of
This is a convenience method that creates an instance of theCustomLineItemVersionListElements
that are received.CustomLineItemVersionListElement.Builder
avoiding the need to create one manually viaCustomLineItemVersionListElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomLineItemVersions(List<CustomLineItemVersionListElement>)
.- Parameters:
customLineItemVersions
- a consumer that will call methods onCustomLineItemVersionListElement.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 retrieve custom line item versions.
- Parameters:
nextToken
- The pagination token that's used on subsequent calls to retrieve custom line item versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-