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.Builderfilters(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.invoicing.model.InvoicingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaFilters.builder().When the
Consumercompletes,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
AsOftime is set to before it was deleted. If anAsOfis 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 theAsOftime is set to before it was deleted. If anAsOfis 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-