Interface DateRange.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DateRange.Builder,DateRange>, SdkBuilder<DateRange.Builder,DateRange>, SdkPojo
Enclosing class:
DateRange

public static interface DateRange.Builder extends SdkPojo, CopyableBuilder<DateRange.Builder,DateRange>
  • Method Details

    • fromDate

      DateRange.Builder fromDate(Instant fromDate)

      This value is the beginning date, inclusive.

      The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).

      Parameters:
      fromDate - This value is the beginning date, inclusive.

      The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toDate

      DateRange.Builder toDate(Instant toDate)

      This value is the end date, inclusive.

      The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).

      Parameters:
      toDate - This value is the end date, inclusive.

      The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).

      Returns:
      Returns a reference to this object so that method calls can be chained together.