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 ofCustomLineItemVersionListElementsthat are received.customLineItemVersions(Consumer<CustomLineItemVersionListElement.Builder>... customLineItemVersions) A list ofCustomLineItemVersionListElementsthat are received.customLineItemVersions(CustomLineItemVersionListElement... customLineItemVersions) A list ofCustomLineItemVersionListElementsthat 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, 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
-
customLineItemVersions
ListCustomLineItemVersionsResponse.Builder customLineItemVersions(Collection<CustomLineItemVersionListElement> customLineItemVersions) A list of
CustomLineItemVersionListElementsthat are received.- Parameters:
customLineItemVersions- A list ofCustomLineItemVersionListElementsthat 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
CustomLineItemVersionListElementsthat are received.- Parameters:
customLineItemVersions- A list ofCustomLineItemVersionListElementsthat 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 theCustomLineItemVersionListElementsthat are received.CustomLineItemVersionListElement.Builderavoiding the need to create one manually viaCustomLineItemVersionListElement.builder().When the
Consumercompletes,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.
-