Class PingProbeResultSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.healthchecks.model.PingProbeResultSummary.Builder
 
- 
- Enclosing class:
- PingProbeResultSummary
 
 public static class PingProbeResultSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PingProbeResultSummarybuild()PingProbeResultSummary.Builderconnection(Connection connection)PingProbeResultSummary.Buildercopy(PingProbeResultSummary model)PingProbeResultSummary.Builderdns(DNS dns)PingProbeResultSummary.BuilderdomainLookupEnd(Double domainLookupEnd)The time immediately before the vantage point finishes the domain name lookup for the resource.PingProbeResultSummary.BuilderdomainLookupStart(Double domainLookupStart)The time immediately before the vantage point starts the domain name lookup for the resource.PingProbeResultSummary.BuildererrorCategory(PingProbeResultSummary.ErrorCategory errorCategory)The category of error if an error occurs executing the probe.PingProbeResultSummary.BuildererrorMessage(String errorMessage)The error information indicating why a probe execution failed.PingProbeResultSummary.BuildericmpCode(Integer icmpCode)The ICMP code of the response message.PingProbeResultSummary.BuilderisHealthy(Boolean isHealthy)True if the probe result is determined to be healthy based on probe type-specific criteria.PingProbeResultSummary.BuilderisTimedOut(Boolean isTimedOut)True if the probe did not complete before the configured timeoutInSeconds value.PingProbeResultSummary.Builderkey(String key)A value identifying this specific probe result.PingProbeResultSummary.BuilderlatencyInMs(Double latencyInMs)The latency of the probe execution, in milliseconds.PingProbeResultSummary.BuilderprobeConfigurationId(String probeConfigurationId)The OCID of the monitor or on-demand probe responsible for creating this result.PingProbeResultSummary.Builderprotocol(PingProbeProtocol protocol)PingProbeResultSummary.BuilderstartTime(Double startTime)The date and time the probe was executed, expressed in milliseconds since the POSIX epoch.PingProbeResultSummary.Buildertarget(String target)The target hostname or IP address of the probe.PingProbeResultSummary.BuildervantagePointName(String vantagePointName)The name of the vantage point that executed the probe.
 
- 
- 
- 
Method Detail- 
keypublic PingProbeResultSummary.Builder key(String key) A value identifying this specific probe result.The key is only unique within the results of its probe configuration. The key may be reused after 90 days. - Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
probeConfigurationIdpublic PingProbeResultSummary.Builder probeConfigurationId(String probeConfigurationId) The OCID of the monitor or on-demand probe responsible for creating this result.- Parameters:
- probeConfigurationId- the value to set
- Returns:
- this builder
 
 - 
startTimepublic PingProbeResultSummary.Builder startTime(Double startTime) The date and time the probe was executed, expressed in milliseconds since the POSIX epoch.This field is defined by the PerformanceResourceTiming interface of the W3C Resource Timing specification. For more information, see Resource Timing. - Parameters:
- startTime- the value to set
- Returns:
- this builder
 
 - 
targetpublic PingProbeResultSummary.Builder target(String target) The target hostname or IP address of the probe.- Parameters:
- target- the value to set
- Returns:
- this builder
 
 - 
vantagePointNamepublic PingProbeResultSummary.Builder vantagePointName(String vantagePointName) The name of the vantage point that executed the probe.- Parameters:
- vantagePointName- the value to set
- Returns:
- this builder
 
 - 
isTimedOutpublic PingProbeResultSummary.Builder isTimedOut(Boolean isTimedOut) True if the probe did not complete before the configured timeoutInSeconds value.- Parameters:
- isTimedOut- the value to set
- Returns:
- this builder
 
 - 
isHealthypublic PingProbeResultSummary.Builder isHealthy(Boolean isHealthy) True if the probe result is determined to be healthy based on probe type-specific criteria.For HTTP probes, a probe result is considered healthy if the HTTP response code is greater than or equal to 200 and less than 300. - Parameters:
- isHealthy- the value to set
- Returns:
- this builder
 
 - 
errorCategorypublic PingProbeResultSummary.Builder errorCategory(PingProbeResultSummary.ErrorCategory errorCategory) The category of error if an error occurs executing the probe.The errorMessage field provides a message with the error details. * NONE - No error * DNS - DNS errors * TRANSPORT - Transport-related errors, for example a “TLS certificate expired” error. * NETWORK - Network-related errors, for example a “network unreachable” error. * SYSTEM - Internal system errors. - Parameters:
- errorCategory- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic PingProbeResultSummary.Builder errorMessage(String errorMessage) The error information indicating why a probe execution failed.- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
protocolpublic PingProbeResultSummary.Builder protocol(PingProbeProtocol protocol) 
 - 
connectionpublic PingProbeResultSummary.Builder connection(Connection connection) 
 - 
dnspublic PingProbeResultSummary.Builder dns(DNS dns) 
 - 
domainLookupStartpublic PingProbeResultSummary.Builder domainLookupStart(Double domainLookupStart) The time immediately before the vantage point starts the domain name lookup for the resource.- Parameters:
- domainLookupStart- the value to set
- Returns:
- this builder
 
 - 
domainLookupEndpublic PingProbeResultSummary.Builder domainLookupEnd(Double domainLookupEnd) The time immediately before the vantage point finishes the domain name lookup for the resource.- Parameters:
- domainLookupEnd- the value to set
- Returns:
- this builder
 
 - 
latencyInMspublic PingProbeResultSummary.Builder latencyInMs(Double latencyInMs) The latency of the probe execution, in milliseconds.- Parameters:
- latencyInMs- the value to set
- Returns:
- this builder
 
 - 
icmpCodepublic PingProbeResultSummary.Builder icmpCode(Integer icmpCode) The ICMP code of the response message.This field is not used when the protocol is set to TCP. For more information on ICMP codes, see Internet Control Message Protocol (ICMP) Parameters. - Parameters:
- icmpCode- the value to set
- Returns:
- this builder
 
 - 
buildpublic PingProbeResultSummary build() 
 - 
copypublic PingProbeResultSummary.Builder copy(PingProbeResultSummary model) 
 
- 
 
-