Package com.oracle.bmc.opsi.model
Class ProjectedDataItem.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.ProjectedDataItem.Builder
-
- Enclosing class:
- ProjectedDataItem
public static class ProjectedDataItem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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).
-
-
-
Method Detail
-
endTimestamp
public ProjectedDataItem.Builder endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.- Parameters:
endTimestamp
- the value to set- Returns:
- this builder
-
usage
public ProjectedDataItem.Builder usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).- Parameters:
usage
- the value to set- Returns:
- this builder
-
highValue
public ProjectedDataItem.Builder highValue(Double highValue)
Upper uncertainty bound of the current usage value.- Parameters:
highValue
- the value to set- Returns:
- this builder
-
lowValue
public ProjectedDataItem.Builder lowValue(Double lowValue)
Lower uncertainty bound of the current usage value.- Parameters:
lowValue
- the value to set- Returns:
- this builder
-
build
public ProjectedDataItem build()
-
copy
public ProjectedDataItem.Builder copy(ProjectedDataItem model)
-
-