Package com.dropbox.core.v2.teamcommon
Class TimeRange.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamcommon.TimeRange.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeRange
build()
Builds an instance ofTimeRange
configured with this builder's valuesTimeRange.Builder
withEndTime(java.util.Date endTime)
Set value for optional field.TimeRange.Builder
withStartTime(java.util.Date startTime)
Set value for optional field.
-
-
-
Method Detail
-
withStartTime
public TimeRange.Builder withStartTime(java.util.Date startTime)
Set value for optional field.- Parameters:
startTime
- Optional starting time (inclusive).- Returns:
- this builder
-
withEndTime
public TimeRange.Builder withEndTime(java.util.Date endTime)
Set value for optional field.- Parameters:
endTime
- Optional ending time (exclusive).- Returns:
- this builder
-
-