Class UpdatePingMonitorDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.healthchecks.model.UpdatePingMonitorDetails.Builder
 
- 
- Enclosing class:
- UpdatePingMonitorDetails
 
 public static class UpdatePingMonitorDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
targetspublic UpdatePingMonitorDetails.Builder targets(List<String> targets) A list of targets (hostnames or IP addresses) of the probe.- Parameters:
- targets- the value to set
- Returns:
- this builder
 
 - 
vantagePointNamespublic UpdatePingMonitorDetails.Builder vantagePointNames(List<String> vantagePointNames) A list of names of vantage points from which to execute the probe.- Parameters:
- vantagePointNames- the value to set
- Returns:
- this builder
 
 - 
portpublic UpdatePingMonitorDetails.Builder port(Integer port) The port on which to probe endpoints.If unspecified, probes will use the default port of their protocol. - Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
timeoutInSecondspublic UpdatePingMonitorDetails.Builder timeoutInSeconds(Integer timeoutInSeconds) The probe timeout in seconds.Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to intervalInSeconds for monitors. - Parameters:
- timeoutInSeconds- the value to set
- Returns:
- this builder
 
 - 
protocolpublic UpdatePingMonitorDetails.Builder protocol(PingProbeProtocol protocol) 
 - 
displayNamepublic UpdatePingMonitorDetails.Builder displayName(String displayName) A user-friendly and mutable name suitable for display in a user interface.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
intervalInSecondspublic UpdatePingMonitorDetails.Builder intervalInSeconds(Integer intervalInSeconds) The monitor interval in seconds.Valid values: 10, 30, and 60. - Parameters:
- intervalInSeconds- the value to set
- Returns:
- this builder
 
 - 
isEnabledpublic UpdatePingMonitorDetails.Builder isEnabled(Boolean isEnabled) Enables or disables the monitor.Set to ‘true’ to launch monitoring. - Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic UpdatePingMonitorDetails.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic UpdatePingMonitorDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic UpdatePingMonitorDetails build() 
 - 
copypublic UpdatePingMonitorDetails.Builder copy(UpdatePingMonitorDetails model) 
 
- 
 
-