Interface ListInvoiceUnitsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInvoiceUnitsResponse.Builder,ListInvoiceUnitsResponse>,InvoicingResponse.Builder,SdkBuilder<ListInvoiceUnitsResponse.Builder,ListInvoiceUnitsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInvoiceUnitsResponse
public static interface ListInvoiceUnitsResponse.Builder extends InvoicingResponse.Builder, SdkPojo, CopyableBuilder<ListInvoiceUnitsResponse.Builder,ListInvoiceUnitsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInvoiceUnitsResponse.BuilderinvoiceUnits(Collection<InvoiceUnit> invoiceUnits)An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.ListInvoiceUnitsResponse.BuilderinvoiceUnits(Consumer<InvoiceUnit.Builder>... invoiceUnits)An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.ListInvoiceUnitsResponse.BuilderinvoiceUnits(InvoiceUnit... invoiceUnits)An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.ListInvoiceUnitsResponse.BuildernextToken(String nextToken)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 Detail
-
invoiceUnits
ListInvoiceUnitsResponse.Builder invoiceUnits(Collection<InvoiceUnit> 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
ListInvoiceUnitsResponse.Builder invoiceUnits(InvoiceUnit... 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
ListInvoiceUnitsResponse.Builder invoiceUnits(Consumer<InvoiceUnit.Builder>... 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.Builderavoiding the need to create one manually viaInvoiceUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#invoiceUnits(List.) - 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:
#invoiceUnits(java.util.Collection)
-
nextToken
ListInvoiceUnitsResponse.Builder nextToken(String 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.
-
-