Class MonitorResult.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.MonitorResult.Builder
-
- Enclosing class:
- MonitorResult
public static class MonitorResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitorResultbuild()MonitorResult.Buildercopy(MonitorResult model)MonitorResult.BuilderexecutionTime(String executionTime)The specific point of time when the result of an execution is collected.MonitorResult.BuildermonitorId(String monitorId)The OCID of the monitor.MonitorResult.BuilderresultContentType(String resultContentType)Type of result content.MonitorResult.BuilderresultDataSet(List<MonitorResultData> resultDataSet)Monitor result data set.MonitorResult.BuilderresultType(String resultType)Type of result.MonitorResult.BuildervantagePoint(String vantagePoint)The name of the public or dedicated vantage point.
-
-
-
Method Detail
-
resultType
public MonitorResult.Builder resultType(String resultType)
Type of result.Example: har, screenshot, log, network, diagnostics or script.
- Parameters:
resultType- the value to set- Returns:
- this builder
-
resultContentType
public MonitorResult.Builder resultContentType(String resultContentType)
Type of result content.Example: Zip or Raw file.
- Parameters:
resultContentType- the value to set- Returns:
- this builder
-
resultDataSet
public MonitorResult.Builder resultDataSet(List<MonitorResultData> resultDataSet)
Monitor result data set.- Parameters:
resultDataSet- the value to set- Returns:
- this builder
-
monitorId
public MonitorResult.Builder monitorId(String monitorId)
The OCID of the monitor.- Parameters:
monitorId- the value to set- Returns:
- this builder
-
vantagePoint
public MonitorResult.Builder vantagePoint(String vantagePoint)
The name of the public or dedicated vantage point.- Parameters:
vantagePoint- the value to set- Returns:
- this builder
-
executionTime
public MonitorResult.Builder executionTime(String executionTime)
The specific point of time when the result of an execution is collected.- Parameters:
executionTime- the value to set- Returns:
- this builder
-
build
public MonitorResult build()
-
copy
public MonitorResult.Builder copy(MonitorResult model)
-
-