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