DataUpdateRequest.Builder

public static class DataUpdateRequest.Builder extends Object

Builder used to create new DataUpdateRequests.

Public Constructor Summary

Public Method Summary

DataUpdateRequest
build()
Finishes building and returns the request.
DataUpdateRequest.Builder
setDataSet(DataSet dataSet)
Sets the dataSet for the data update query
DataUpdateRequest.Builder
setTimeInterval(long startTimeMillis, long endTimeMillis, TimeUnit timeUnit)
Sets the time interval for the data update query.

Inherited Method Summary

Public Constructors

public DataUpdateRequest.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.