Interface TimeRange.Builder

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

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

    • fromInclusive

      TimeRange.Builder fromInclusive(Instant fromInclusive)

      The start time, in Unix time in seconds.

      Parameters:
      fromInclusive - The start time, in Unix time in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toExclusive

      TimeRange.Builder toExclusive(Instant toExclusive)

      The end time, in Unix time in seconds.

      Parameters:
      toExclusive - The end time, in Unix time in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.