public static class DataObjectQueryTimeFilters.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataObjectQueryTimeFilters |
build() |
DataObjectQueryTimeFilters.Builder |
copy(DataObjectQueryTimeFilters model) |
DataObjectQueryTimeFilters.Builder |
timeEnd(Date timeEnd)
End time in UTC in RFC3339 formatted datetime string.
|
DataObjectQueryTimeFilters.Builder |
timePeriod(String timePeriod)
Specify time period in ISO 8601 format with respect to current time.
|
DataObjectQueryTimeFilters.Builder |
timeStart(Date timeStart)
Start time in UTC in RFC3339 formatted datetime string.
|
public DataObjectQueryTimeFilters.Builder timePeriod(String timePeriod)
Specify time period in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D. If timePeriod is specified, then timeStart and timeEnd will be ignored. Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).
timePeriod
- the value to setpublic DataObjectQueryTimeFilters.Builder timeStart(Date timeStart)
Start time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z. timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.
timeStart
- the value to setpublic DataObjectQueryTimeFilters.Builder timeEnd(Date timeEnd)
End time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z. timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored. If timeEnd is not specified, current time is used as timeEnd.
timeEnd
- the value to setpublic DataObjectQueryTimeFilters build()
public DataObjectQueryTimeFilters.Builder copy(DataObjectQueryTimeFilters model)
Copyright © 2016–2025. All rights reserved.