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