@@ -23,17 +23,23 @@ final class Record
2323{
2424 /**
2525 * Contains the list of dimensions for time-series data points.
26+ *
27+ * @var Dimension[]|null
2628 */
2729 private $ dimensions ;
2830
2931 /**
3032 * Measure represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the
3133 * RPM of a wind turbine are measures.
34+ *
35+ * @var string|null
3236 */
3337 private $ measureName ;
3438
3539 /**
3640 * Contains the measure value for the time-series data point.
41+ *
42+ * @var string|null
3743 */
3844 private $ measureValue ;
3945
@@ -42,19 +48,25 @@ final class Record
4248 * information, see Data types [^1].
4349 *
4450 * [^1]: https://docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.data-types
51+ *
52+ * @var MeasureValueType::*|null
4553 */
4654 private $ measureValueType ;
4755
4856 /**
4957 * Contains the time at which the measure value for the data point was collected. The time value plus the unit provides
5058 * the time elapsed since the epoch. For example, if the time value is `12345` and the unit is `ms`, then `12345 ms`
5159 * have elapsed since the epoch.
60+ *
61+ * @var string|null
5262 */
5363 private $ time ;
5464
5565 /**
5666 * The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds, or
5767 * other supported values. Default is `MILLISECONDS`.
68+ *
69+ * @var TimeUnit::*|null
5870 */
5971 private $ timeUnit ;
6072
@@ -64,13 +76,17 @@ final class Record
6476 * updated. Default value is `1`.
6577 *
6678 * > `Version` must be `1` or greater, or you will receive a `ValidationException` error.
79+ *
80+ * @var int|null
6781 */
6882 private $ version ;
6983
7084 /**
7185 * Contains the list of MeasureValue for time-series data points.
7286 *
7387 * This is only allowed for type `MULTI`. For scalar values, use `MeasureValue` attribute of the record directly.
88+ *
89+ * @var MeasureValue[]|null
7490 */
7591 private $ measureValues ;
7692
0 commit comments