Interface ListInvoiceUnitsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListInvoiceUnitsRequest.Builder,ListInvoiceUnitsRequest>,InvoicingRequest.Builder,SdkBuilder<ListInvoiceUnitsRequest.Builder,ListInvoiceUnitsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListInvoiceUnitsRequest
public static interface ListInvoiceUnitsRequest.Builder extends InvoicingRequest.Builder, SdkPojo, CopyableBuilder<ListInvoiceUnitsRequest.Builder,ListInvoiceUnitsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListInvoiceUnitsRequest.BuilderasOf(Instant asOf)The state of an invoice unit at a specified time.default ListInvoiceUnitsRequest.Builderfilters(Consumer<Filters.Builder> filters)An optional input to the list API.ListInvoiceUnitsRequest.Builderfilters(Filters filters)An optional input to the list API.ListInvoiceUnitsRequest.BuildermaxResults(Integer maxResults)The maximum number of invoice units that can be returned.ListInvoiceUnitsRequest.BuildernextToken(String nextToken)The next token used to indicate where the returned list should start from.ListInvoiceUnitsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListInvoiceUnitsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
filters
ListInvoiceUnitsRequest.Builder filters(Filters 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
default ListInvoiceUnitsRequest.Builder filters(Consumer<Filters.Builder> 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:
filters(Filters)
-
nextToken
ListInvoiceUnitsRequest.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.
-
maxResults
ListInvoiceUnitsRequest.Builder maxResults(Integer 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
ListInvoiceUnitsRequest.Builder asOf(Instant 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListInvoiceUnitsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-