Interface DateInterval.Builder

  • Method Details

    • startDate

      DateInterval.Builder startDate(Instant startDate)

      The beginning of the time period that you want invoice-related documents for. The start date is inclusive. For example, if start is 2019-01-01, AWS retrieves invoices starting at 2019-01-01 up to the end date.

      Parameters:
      startDate - The beginning of the time period that you want invoice-related documents for. The start date is inclusive. For example, if start is 2019-01-01, AWS retrieves invoices starting at 2019-01-01 up to the end date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      DateInterval.Builder endDate(Instant endDate)

      The end of the time period that you want invoice-related documents for. The end date is exclusive. For example, if end is 2019-01-10, Amazon Web Services retrieves invoice-related documents from the start date up to, but not including, 2018-01-10.

      Parameters:
      endDate - The end of the time period that you want invoice-related documents for. The end date is exclusive. For example, if end is 2019-01-10, Amazon Web Services retrieves invoice-related documents from the start date up to, but not including, 2018-01-10.
      Returns:
      Returns a reference to this object so that method calls can be chained together.