Class WorkerMonitorList.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.WorkerMonitorList.Builder
-
- Enclosing class:
- WorkerMonitorList
public static class WorkerMonitorList.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkerMonitorList
build()
WorkerMonitorList.Builder
copy(WorkerMonitorList model)
WorkerMonitorList.Builder
displayName(String displayName)
Unique name that can be edited.WorkerMonitorList.Builder
id(String id)
The OCID of the monitor.WorkerMonitorList.Builder
isRunNow(Boolean isRunNow)
If isRunNow is enabled, then the monitor will run immediately.WorkerMonitorList.Builder
monitorType(MonitorTypes monitorType)
Type of monitor.WorkerMonitorList.Builder
timeAssigned(Date timeAssigned)
The time the resource was last assigned to an On-premise vantage point worker, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public WorkerMonitorList.Builder id(String id)
The OCID of the monitor.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public WorkerMonitorList.Builder displayName(String displayName)
Unique name that can be edited.The name should not contain any confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
monitorType
public WorkerMonitorList.Builder monitorType(MonitorTypes monitorType)
Type of monitor.- Parameters:
monitorType
- the value to set- Returns:
- this builder
-
isRunNow
public WorkerMonitorList.Builder isRunNow(Boolean isRunNow)
If isRunNow is enabled, then the monitor will run immediately.- Parameters:
isRunNow
- the value to set- Returns:
- this builder
-
timeAssigned
public WorkerMonitorList.Builder timeAssigned(Date timeAssigned)
The time the resource was last assigned to an On-premise vantage point worker, expressed in RFC 3339 timestamp format.Example: 2020-02-12T22:47:12.613Z
- Parameters:
timeAssigned
- the value to set- Returns:
- this builder
-
build
public WorkerMonitorList build()
-
copy
public WorkerMonitorList.Builder copy(WorkerMonitorList model)
-
-