Class PingMonitorSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.healthchecks.model.PingMonitorSummary.Builder
 
- 
- Enclosing class:
- PingMonitorSummary
 
 public static class PingMonitorSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PingMonitorSummarybuild()PingMonitorSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.PingMonitorSummary.Buildercopy(PingMonitorSummary model)PingMonitorSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PingMonitorSummary.BuilderdisplayName(String displayName)A user-friendly and mutable name suitable for display in a user interface.PingMonitorSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PingMonitorSummary.BuilderhomeRegion(String homeRegion)The region where updates must be made and where results must be fetched from.PingMonitorSummary.Builderid(String id)The OCID of the resource.PingMonitorSummary.BuilderintervalInSeconds(Integer intervalInSeconds)The monitor interval in seconds.PingMonitorSummary.BuilderisEnabled(Boolean isEnabled)Enables or disables the monitor.PingMonitorSummary.Builderprotocol(PingProbeProtocol protocol)PingMonitorSummary.BuilderresultsUrl(String resultsUrl)A URL for fetching the probe results.PingMonitorSummary.BuildertimeCreated(Date timeCreated)The RFC 3339-formatted creation date and time of the probe.
 
- 
- 
- 
Method Detail- 
idpublic PingMonitorSummary.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
resultsUrlpublic PingMonitorSummary.Builder resultsUrl(String resultsUrl) A URL for fetching the probe results.- Parameters:
- resultsUrl- the value to set
- Returns:
- this builder
 
 - 
homeRegionpublic PingMonitorSummary.Builder homeRegion(String homeRegion) The region where updates must be made and where results must be fetched from.- Parameters:
- homeRegion- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PingMonitorSummary.Builder timeCreated(Date timeCreated) The RFC 3339-formatted creation date and time of the probe.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic PingMonitorSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic PingMonitorSummary.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 PingMonitorSummary.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 PingMonitorSummary.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 PingMonitorSummary.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 PingMonitorSummary.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
 
 - 
protocolpublic PingMonitorSummary.Builder protocol(PingProbeProtocol protocol) 
 - 
buildpublic PingMonitorSummary build() 
 - 
copypublic PingMonitorSummary.Builder copy(PingMonitorSummary model) 
 
- 
 
-