Class Worker.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.Worker.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Worker
build()
Worker.Builder
configurationDetails(Object configurationDetails)
Configuration details of the On-premise VP worker.Worker.Builder
copy(Worker model)
Worker.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Worker.Builder
displayName(String displayName)
Unique On-premise VP worker name that cannot be edited.Worker.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Worker.Builder
geoInfo(String geoInfo)
Geographical information of the On-premise VP worker.Worker.Builder
id(String id)
The OCID of the On-premise VP worker.Worker.Builder
identityInfo(IdentityInfoDetails identityInfo)
Worker.Builder
monitorList(List<WorkerMonitorList> monitorList)
Monitors list assigned to the On-premise VP worker.Worker.Builder
name(String name)
Unique permanent name of the On-premise VP worker.Worker.Builder
opvpId(String opvpId)
The OCID of the On-premise vantage point.Worker.Builder
opvpName(String opvpName)
On-premise vantage point name.Worker.Builder
priority(Integer priority)
Priority of the On-premise VP worker to schedule monitors.Worker.Builder
runtimeId(String runtimeId)
The runtime assigned id of the On-premise VP worker.Worker.Builder
status(OnPremiseVantagePointWorkerStatus status)
Enables or disables the On-premise VP worker.Worker.Builder
timeCreated(Date timeCreated)
The time the resource was created, expressed in RFC 3339 timestamp format.Worker.Builder
timeLastSyncUp(Date timeLastSyncUp)
The time the resource was last synced, expressed in RFC 3339 timestamp format.Worker.Builder
timeUpdated(Date timeUpdated)
The time the resource was updated, expressed in RFC 3339 timestamp format.Worker.Builder
versionDetails(OnPremiseVpWorkerVersionDetails versionDetails)
Worker.Builder
workerType(OnPremiseVantagePointWorkerType workerType)
Type of the On-premise VP worker.
-
-
-
Method Detail
-
id
public Worker.Builder id(String id)
The OCID of the On-premise VP worker.- Parameters:
id
- the value to set- Returns:
- this builder
-
runtimeId
public Worker.Builder runtimeId(String runtimeId)
The runtime assigned id of the On-premise VP worker.- Parameters:
runtimeId
- the value to set- Returns:
- this builder
-
displayName
public Worker.Builder displayName(String displayName)
Unique On-premise VP worker name that cannot be edited.The name should not contain any confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
name
public Worker.Builder name(String name)
Unique permanent name of the On-premise VP worker.This is the same as the displayName.
- Parameters:
name
- the value to set- Returns:
- this builder
-
opvpId
public Worker.Builder opvpId(String opvpId)
The OCID of the On-premise vantage point.- Parameters:
opvpId
- the value to set- Returns:
- this builder
-
opvpName
public Worker.Builder opvpName(String opvpName)
On-premise vantage point name.- Parameters:
opvpName
- the value to set- Returns:
- this builder
-
versionDetails
public Worker.Builder versionDetails(OnPremiseVpWorkerVersionDetails versionDetails)
-
configurationDetails
public Worker.Builder configurationDetails(Object configurationDetails)
Configuration details of the On-premise VP worker.- Parameters:
configurationDetails
- the value to set- Returns:
- this builder
-
workerType
public Worker.Builder workerType(OnPremiseVantagePointWorkerType workerType)
Type of the On-premise VP worker.- Parameters:
workerType
- the value to set- Returns:
- this builder
-
status
public Worker.Builder status(OnPremiseVantagePointWorkerStatus status)
Enables or disables the On-premise VP worker.- Parameters:
status
- the value to set- Returns:
- this builder
-
priority
public Worker.Builder priority(Integer priority)
Priority of the On-premise VP worker to schedule monitors.- Parameters:
priority
- the value to set- Returns:
- this builder
-
geoInfo
public Worker.Builder geoInfo(String geoInfo)
Geographical information of the On-premise VP worker.- Parameters:
geoInfo
- the value to set- Returns:
- this builder
-
monitorList
public Worker.Builder monitorList(List<WorkerMonitorList> monitorList)
Monitors list assigned to the On-premise VP worker.- Parameters:
monitorList
- the value to set- Returns:
- this builder
-
identityInfo
public Worker.Builder identityInfo(IdentityInfoDetails identityInfo)
-
timeLastSyncUp
public Worker.Builder timeLastSyncUp(Date timeLastSyncUp)
The time the resource was last synced, expressed in RFC 3339 timestamp format.Example: 2020-02-12T22:47:12.613Z
- Parameters:
timeLastSyncUp
- the value to set- Returns:
- this builder
-
timeCreated
public Worker.Builder timeCreated(Date timeCreated)
The time the resource was created, expressed in RFC 3339 timestamp format.Example: 2020-02-12T22:47:12.613Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Worker.Builder timeUpdated(Date timeUpdated)
The time the resource was updated, expressed in RFC 3339 timestamp format.Example: 2020-02-13T22:47:12.613Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public Worker.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public Worker.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public Worker build()
-
copy
public Worker.Builder copy(Worker model)
-
-