Interface ListInvoiceUnitsRequest.Builder

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