Class WorkerSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.WorkerSummary.Builder
-
- Enclosing class:
- WorkerSummary
public static class WorkerSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkerSummary
build()
WorkerSummary.Builder
configurationDetails(Object configurationDetails)
Configuration details of the On-premise VP worker.WorkerSummary.Builder
copy(WorkerSummary model)
WorkerSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.WorkerSummary.Builder
displayName(String displayName)
Unique On-premise VP worker name that cannot be edited.WorkerSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.WorkerSummary.Builder
geoInfo(String geoInfo)
Geographical information of the On-premise VP worker.WorkerSummary.Builder
id(String id)
The OCID of the On-premise VP worker.WorkerSummary.Builder
monitorList(List<WorkerMonitorList> monitorList)
Monitors list assigned to the On-premise VP worker.WorkerSummary.Builder
name(String name)
Unique permanent name of the On-premise VP worker.WorkerSummary.Builder
priority(Integer priority)
Priority of the On-premise VP worker to schedule monitors.WorkerSummary.Builder
status(OnPremiseVantagePointWorkerStatus status)
Enables or disables the On-premise VP worker.WorkerSummary.Builder
timeCreated(Date timeCreated)
The time the resource was created, expressed in RFC 3339 timestamp format.WorkerSummary.Builder
timeLastSyncup(Date timeLastSyncup)
The time the resource was last synced, expressed in RFC 3339 timestamp format.WorkerSummary.Builder
timeUpdated(Date timeUpdated)
The time the resource was updated, expressed in RFC 3339 timestamp format.WorkerSummary.Builder
versionDetails(OnPremiseVpWorkerVersionDetails versionDetails)
WorkerSummary.Builder
workerType(OnPremiseVantagePointWorkerType workerType)
Type of the On-premise VP worker.
-
-
-
Method Detail
-
id
public WorkerSummary.Builder id(String id)
The OCID of the On-premise VP worker.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public WorkerSummary.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 WorkerSummary.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
-
versionDetails
public WorkerSummary.Builder versionDetails(OnPremiseVpWorkerVersionDetails versionDetails)
-
configurationDetails
public WorkerSummary.Builder configurationDetails(Object configurationDetails)
Configuration details of the On-premise VP worker.- Parameters:
configurationDetails
- the value to set- Returns:
- this builder
-
workerType
public WorkerSummary.Builder workerType(OnPremiseVantagePointWorkerType workerType)
Type of the On-premise VP worker.- Parameters:
workerType
- the value to set- Returns:
- this builder
-
status
public WorkerSummary.Builder status(OnPremiseVantagePointWorkerStatus status)
Enables or disables the On-premise VP worker.- Parameters:
status
- the value to set- Returns:
- this builder
-
priority
public WorkerSummary.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 WorkerSummary.Builder geoInfo(String geoInfo)
Geographical information of the On-premise VP worker.- Parameters:
geoInfo
- the value to set- Returns:
- this builder
-
monitorList
public WorkerSummary.Builder monitorList(List<WorkerMonitorList> monitorList)
Monitors list assigned to the On-premise VP worker.- Parameters:
monitorList
- the value to set- Returns:
- this builder
-
timeLastSyncup
public WorkerSummary.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 WorkerSummary.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 WorkerSummary.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 WorkerSummary.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 WorkerSummary.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 WorkerSummary build()
-
copy
public WorkerSummary.Builder copy(WorkerSummary model)
-
-