Package com.dropbox.core.v2.teamcommon
Class TimeRange.Builder
java.lang.Object
com.dropbox.core.v2.teamcommon.TimeRange.Builder
- Enclosing class:
TimeRange
Builder for
TimeRange.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofTimeRangeconfigured with this builder's valueswithEndTime(Date endTime) Set value for optional field.withStartTime(Date startTime) Set value for optional field.
-
Field Details
-
startTime
-
endTime
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withStartTime
Set value for optional field.- Parameters:
startTime- Optional starting time (inclusive).- Returns:
- this builder
-
withEndTime
Set value for optional field.- Parameters:
endTime- Optional ending time (exclusive).- Returns:
- this builder
-
build
Builds an instance ofTimeRangeconfigured with this builder's values- Returns:
- new instance of
TimeRange
-