Interface ListInvoiceUnitsRequest.Builder

  • 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, and Accounts.

      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 are InvoiceReceivers, Names, and Accounts.
      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 InvoiceReceivers, Names, and Accounts.

      This is a convenience method that creates an instance of the Filters.Builder avoiding the need to create one manually via Filters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(Filters).

      Parameters:
      filters - a consumer that will call methods on Filters.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

      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

      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 an AsOf 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 the AsOf time is set to before it was deleted. If an AsOf 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.