Class Worker.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmsynthetics.model.Worker.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Workerbuild()Worker.BuilderconfigurationDetails(Object configurationDetails)Configuration details of the On-premise VP worker.Worker.Buildercopy(Worker model)Worker.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Worker.BuilderdisplayName(String displayName)Unique On-premise VP worker name that cannot be edited.Worker.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Worker.BuildergeoInfo(String geoInfo)Geographical information of the On-premise VP worker.Worker.Builderid(String id)The OCID of the On-premise VP worker.Worker.BuilderidentityInfo(IdentityInfoDetails identityInfo)Worker.BuildermonitorList(List<WorkerMonitorList> monitorList)Monitors list assigned to the On-premise VP worker.Worker.Buildername(String name)Unique permanent name of the On-premise VP worker.Worker.BuilderopvpId(String opvpId)The OCID of the On-premise vantage point.Worker.BuilderopvpName(String opvpName)On-premise vantage point name.Worker.Builderpriority(Integer priority)Priority of the On-premise VP worker to schedule monitors.Worker.BuilderruntimeId(String runtimeId)The runtime assigned id of the On-premise VP worker.Worker.Builderstatus(OnPremiseVantagePointWorkerStatus status)Enables or disables the On-premise VP worker.Worker.BuildertimeCreated(Date timeCreated)The time the resource was created, expressed in RFC 3339 timestamp format.Worker.BuildertimeLastSyncUp(Date timeLastSyncUp)The time the resource was last synced, expressed in RFC 3339 timestamp format.Worker.BuildertimeUpdated(Date timeUpdated)The time the resource was updated, expressed in RFC 3339 timestamp format.Worker.BuilderversionDetails(OnPremiseVpWorkerVersionDetails versionDetails)Worker.BuilderworkerType(OnPremiseVantagePointWorkerType workerType)Type of the On-premise VP worker.
 
- 
- 
- 
Method Detail- 
idpublic Worker.Builder id(String id) The OCID of the On-premise VP worker.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
runtimeIdpublic Worker.Builder runtimeId(String runtimeId) The runtime assigned id of the On-premise VP worker.- Parameters:
- runtimeId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
namepublic 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
 
 - 
opvpIdpublic Worker.Builder opvpId(String opvpId) The OCID of the On-premise vantage point.- Parameters:
- opvpId- the value to set
- Returns:
- this builder
 
 - 
opvpNamepublic Worker.Builder opvpName(String opvpName) On-premise vantage point name.- Parameters:
- opvpName- the value to set
- Returns:
- this builder
 
 - 
versionDetailspublic Worker.Builder versionDetails(OnPremiseVpWorkerVersionDetails versionDetails) 
 - 
configurationDetailspublic Worker.Builder configurationDetails(Object configurationDetails) Configuration details of the On-premise VP worker.- Parameters:
- configurationDetails- the value to set
- Returns:
- this builder
 
 - 
workerTypepublic Worker.Builder workerType(OnPremiseVantagePointWorkerType workerType) Type of the On-premise VP worker.- Parameters:
- workerType- the value to set
- Returns:
- this builder
 
 - 
statuspublic Worker.Builder status(OnPremiseVantagePointWorkerStatus status) Enables or disables the On-premise VP worker.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
prioritypublic Worker.Builder priority(Integer priority) Priority of the On-premise VP worker to schedule monitors.- Parameters:
- priority- the value to set
- Returns:
- this builder
 
 - 
geoInfopublic Worker.Builder geoInfo(String geoInfo) Geographical information of the On-premise VP worker.- Parameters:
- geoInfo- the value to set
- Returns:
- this builder
 
 - 
monitorListpublic Worker.Builder monitorList(List<WorkerMonitorList> monitorList) Monitors list assigned to the On-premise VP worker.- Parameters:
- monitorList- the value to set
- Returns:
- this builder
 
 - 
identityInfopublic Worker.Builder identityInfo(IdentityInfoDetails identityInfo) 
 - 
timeLastSyncUppublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic Worker build() 
 - 
copypublic Worker.Builder copy(Worker model) 
 
- 
 
-