Interface ListInvoiceUnitsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListInvoiceUnitsRequest.Builder,
,ListInvoiceUnitsRequest> InvoicingRequest.Builder
,SdkBuilder<ListInvoiceUnitsRequest.Builder,
,ListInvoiceUnitsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListInvoiceUnitsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe state of an invoice unit at a specified time.default ListInvoiceUnitsRequest.Builder
filters
(Consumer<Filters.Builder> filters) An optional input to the list API.An optional input to the list API.maxResults
(Integer maxResults) The maximum number of invoice units that can be returned.The next token used to indicate where the returned list should start from.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.invoicing.model.InvoicingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filters
An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are
InvoiceReceivers
,Names
, andAccounts
.- Parameters:
filters
- An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types areInvoiceReceivers
,Names
, andAccounts
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are
This is a convenience method that creates an instance of theInvoiceReceivers
,Names
, andAccounts
.Filters.Builder
avoiding the need to create one manually viaFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(Filters)
.- Parameters:
filters
- a consumer that will call methods onFilters.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.
-
maxResults
The maximum number of invoice units that can be returned.
- Parameters:
maxResults
- The maximum number of invoice units that can be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asOf
The state of an invoice unit at a specified time. You can see legacy invoice units that are currently deleted if the
AsOf
time is set to before it was deleted. If anAsOf
is not provided, the default value is the current time.- Parameters:
asOf
- The state of an invoice unit at a specified time. You can see legacy invoice units that are currently deleted if theAsOf
time is set to before it was deleted. If anAsOf
is not provided, the default value is the current time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListInvoiceUnitsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListInvoiceUnitsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-