public static class WorkerMonitorList.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public WorkerMonitorList.Builder id(String id)
The OCID of the monitor.
id
- the value to setpublic WorkerMonitorList.Builder displayName(String displayName)
Unique name that can be edited. The name should not contain any confidential information.
displayName
- the value to setpublic WorkerMonitorList.Builder monitorType(MonitorTypes monitorType)
Type of monitor.
monitorType
- the value to setpublic WorkerMonitorList.Builder isRunNow(Boolean isRunNow)
If isRunNow is enabled, then the monitor will run immediately.
isRunNow
- the value to setpublic 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
timeAssigned
- the value to setpublic WorkerMonitorList build()
public WorkerMonitorList.Builder copy(WorkerMonitorList model)
Copyright © 2016–2024. All rights reserved.