Interface TLEData.Builder

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

@Mutable @NotThreadSafe public static interface TLEData.Builder extends SdkPojo, CopyableBuilder<TLEData.Builder,TLEData>
  • Method Details

    • tleLine1

      TLEData.Builder tleLine1(String tleLine1)

      First line of two-line element set (TLE) data.

      Parameters:
      tleLine1 - First line of two-line element set (TLE) data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tleLine2

      TLEData.Builder tleLine2(String tleLine2)

      Second line of two-line element set (TLE) data.

      Parameters:
      tleLine2 - Second line of two-line element set (TLE) data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validTimeRange

      TLEData.Builder validTimeRange(TimeRange validTimeRange)

      The valid time range for the TLE. Gaps or overlap are not permitted.

      Parameters:
      validTimeRange - The valid time range for the TLE. Gaps or overlap are not permitted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validTimeRange

      default TLEData.Builder validTimeRange(Consumer<TimeRange.Builder> validTimeRange)

      The valid time range for the TLE. Gaps or overlap are not permitted.

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

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

      Parameters:
      validTimeRange - a consumer that will call methods on TimeRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: