OrderReadyTimeWindow.Builder


public final class OrderReadyTimeWindow.Builder


Builder class for OrderReadyTimeWindow.

Summary

Public constructors

Public methods

OrderReadyTimeWindow
OrderReadyTimeWindow.Builder

Sets the end timestamp for the order ready time window in epoch milliseconds.

OrderReadyTimeWindow.Builder
@CanIgnoreReturnValue
setStartTimestampMillis(long startTimestampMillis)

Sets the start timestamp for the order ready time window in epoch milliseconds.

Public constructors

Builder

public Builder()

Public methods

build

public OrderReadyTimeWindow build()

setEndTimestampMillis

@CanIgnoreReturnValue
public OrderReadyTimeWindow.Builder setEndTimestampMillis(long endTimestampMillis)

Sets the end timestamp for the order ready time window in epoch milliseconds.

If set, this marks the latest time by which the order will be ready.

Optional.

setStartTimestampMillis

@CanIgnoreReturnValue
public OrderReadyTimeWindow.Builder setStartTimestampMillis(long startTimestampMillis)

Sets the start timestamp for the order ready time window in epoch milliseconds.

If set, this marks the earliest time by which the order will be ready.

Optional.