public static class HistoricalDataItem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HistoricalDataItem |
build() |
HistoricalDataItem.Builder |
copy(HistoricalDataItem model) |
HistoricalDataItem.Builder |
endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.
|
HistoricalDataItem.Builder |
usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
|
public HistoricalDataItem.Builder endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.
endTimestamp
- the value to setpublic HistoricalDataItem.Builder usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
usage
- the value to setpublic HistoricalDataItem build()
public HistoricalDataItem.Builder copy(HistoricalDataItem model)
Copyright © 2016–2024. All rights reserved.