Interface ListInvoiceUnitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInvoiceUnitsResponse.Builder,
,ListInvoiceUnitsResponse> InvoicingResponse.Builder
,SdkBuilder<ListInvoiceUnitsResponse.Builder,
,ListInvoiceUnitsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInvoiceUnitsResponse
@Mutable
@NotThreadSafe
public static interface ListInvoiceUnitsResponse.Builder
extends InvoicingResponse.Builder, SdkPojo, CopyableBuilder<ListInvoiceUnitsResponse.Builder,ListInvoiceUnitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvoiceUnits
(Collection<InvoiceUnit> invoiceUnits) An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.invoiceUnits
(Consumer<InvoiceUnit.Builder>... invoiceUnits) An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.invoiceUnits
(InvoiceUnit... invoiceUnits) An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.The next token used to indicate where the returned list should start from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.invoicing.model.InvoicingResponse.Builder
build, responseMetadata, responseMetadata
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
-
invoiceUnits
An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.
- Parameters:
invoiceUnits
- An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoiceUnits
An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.
- Parameters:
invoiceUnits
- An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoiceUnits
An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.
This is a convenience method that creates an instance of theInvoiceUnit.Builder
avoiding the need to create one manually viaInvoiceUnit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvoiceUnits(List<InvoiceUnit>)
.- Parameters:
invoiceUnits
- a consumer that will call methods onInvoiceUnit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next token used to indicate where the returned list should start from.
- Parameters:
nextToken
- The next token used to indicate where the returned list should start from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-