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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
endTimestamppublic 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
 
 - 
usagepublic HistoricalDataItem.Builder usage(Double usage) Total amount used of the resource metric type (CPU, STORAGE).- Parameters:
- usage- the value to set
- Returns:
- this builder
 
 - 
buildpublic HistoricalDataItem build() 
 - 
copypublic HistoricalDataItem.Builder copy(HistoricalDataItem model) 
 
- 
 
-