AI-generated Key Takeaways
-
The DataUpdateRequest.Builder is used to create new DataUpdateRequests.
-
The builder includes methods to set the data set and the time interval for the update request.
-
The build method finalizes the building process and returns the DataUpdateRequest object.
Builder used to create new DataUpdateRequests.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| DataUpdateRequest |
build()
Finishes building and returns the request.
|
| DataUpdateRequest.Builder | |
| DataUpdateRequest.Builder |
setTimeInterval(long startTimeMillis, long endTimeMillis, TimeUnit
timeUnit)
Sets the time interval for the data update query.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public DataUpdateRequest build ()
Finishes building and returns the request.
public DataUpdateRequest.Builder setDataSet (DataSet dataSet)
Sets the dataSet for the data update query
Throws
| IllegalArgumentException | If the data set is null. |
|---|
public DataUpdateRequest.Builder setTimeInterval (long startTimeMillis, long endTimeMillis, TimeUnit timeUnit)
Sets the time interval for the data update query.
Throws
| IllegalArgumentException | If the input time interval is invalid. |
|---|