Class HttpProbeResultSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.healthchecks.model.HttpProbeResultSummary.Builder
 
- 
- Enclosing class:
- HttpProbeResultSummary
 
 public static class HttpProbeResultSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpProbeResultSummarybuild()HttpProbeResultSummary.BuilderconnectEnd(Double connectEnd)The time immediately after the vantage point finishes establishing the connection to the server to retrieve the resource.HttpProbeResultSummary.Builderconnection(TcpConnection connection)HttpProbeResultSummary.BuilderconnectStart(Double connectStart)The time immediately before the vantage point starts establishing the connection to the server to retrieve the resource.HttpProbeResultSummary.Buildercopy(HttpProbeResultSummary model)HttpProbeResultSummary.Builderdns(DNS dns)HttpProbeResultSummary.BuilderdomainLookupEnd(Double domainLookupEnd)The time immediately before the vantage point finishes the domain name lookup for the resource.HttpProbeResultSummary.BuilderdomainLookupStart(Double domainLookupStart)The time immediately before the vantage point starts the domain name lookup for the resource.HttpProbeResultSummary.Builderduration(Double duration)The total duration from start of request until response is fully consumed or the connection is closed.HttpProbeResultSummary.BuilderencodedBodySize(Integer encodedBodySize)The size, in octets, of the payload body prior to removing any applied content-codings.HttpProbeResultSummary.BuildererrorCategory(HttpProbeResultSummary.ErrorCategory errorCategory)The category of error if an error occurs executing the probe.HttpProbeResultSummary.BuildererrorMessage(String errorMessage)The error information indicating why a probe execution failed.HttpProbeResultSummary.BuilderfetchStart(Double fetchStart)The time immediately before the vantage point starts to fetch the resource.HttpProbeResultSummary.BuilderisHealthy(Boolean isHealthy)True if the probe result is determined to be healthy based on probe type-specific criteria.HttpProbeResultSummary.BuilderisTimedOut(Boolean isTimedOut)True if the probe did not complete before the configured timeoutInSeconds value.HttpProbeResultSummary.Builderkey(String key)A value identifying this specific probe result.HttpProbeResultSummary.BuilderprobeConfigurationId(String probeConfigurationId)The OCID of the monitor or on-demand probe responsible for creating this result.HttpProbeResultSummary.Builderprotocol(HttpProbeProtocol protocol)HttpProbeResultSummary.BuilderrequestStart(Double requestStart)The time immediately before the vantage point starts requesting the resource from the server.HttpProbeResultSummary.BuilderresponseEnd(Double responseEnd)The time immediately after the vantage point receives the last byte of the response or immediately before the transport connection is closed, whichever comes first.HttpProbeResultSummary.BuilderresponseStart(Double responseStart)The time immediately after the vantage point’s HTTP parser receives the first byte of the response.HttpProbeResultSummary.BuildersecureConnectionStart(Double secureConnectionStart)The time immediately before the vantage point starts the handshake process to secure the current connection.HttpProbeResultSummary.BuilderstartTime(Double startTime)The date and time the probe was executed, expressed in milliseconds since the POSIX epoch.HttpProbeResultSummary.BuilderstatusCode(Integer statusCode)The HTTP response status code.HttpProbeResultSummary.Buildertarget(String target)The target hostname or IP address of the probe.HttpProbeResultSummary.BuildervantagePointName(String vantagePointName)The name of the vantage point that executed the probe.
 
- 
- 
- 
Method Detail- 
keypublic HttpProbeResultSummary.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 HttpProbeResultSummary.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 HttpProbeResultSummary.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 HttpProbeResultSummary.Builder target(String target) The target hostname or IP address of the probe.- Parameters:
- target- the value to set
- Returns:
- this builder
 
 - 
vantagePointNamepublic HttpProbeResultSummary.Builder vantagePointName(String vantagePointName) The name of the vantage point that executed the probe.- Parameters:
- vantagePointName- the value to set
- Returns:
- this builder
 
 - 
isTimedOutpublic HttpProbeResultSummary.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 HttpProbeResultSummary.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 HttpProbeResultSummary.Builder errorCategory(HttpProbeResultSummary.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 HttpProbeResultSummary.Builder errorMessage(String errorMessage) The error information indicating why a probe execution failed.- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
protocolpublic HttpProbeResultSummary.Builder protocol(HttpProbeProtocol protocol) 
 - 
connectionpublic HttpProbeResultSummary.Builder connection(TcpConnection connection) 
 - 
dnspublic HttpProbeResultSummary.Builder dns(DNS dns) 
 - 
statusCodepublic HttpProbeResultSummary.Builder statusCode(Integer statusCode) The HTTP response status code.- Parameters:
- statusCode- the value to set
- Returns:
- this builder
 
 - 
domainLookupStartpublic HttpProbeResultSummary.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 HttpProbeResultSummary.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
 
 - 
connectStartpublic HttpProbeResultSummary.Builder connectStart(Double connectStart) The time immediately before the vantage point starts establishing the connection to the server to retrieve the resource.- Parameters:
- connectStart- the value to set
- Returns:
- this builder
 
 - 
secureConnectionStartpublic HttpProbeResultSummary.Builder secureConnectionStart(Double secureConnectionStart) The time immediately before the vantage point starts the handshake process to secure the current connection.- Parameters:
- secureConnectionStart- the value to set
- Returns:
- this builder
 
 - 
connectEndpublic HttpProbeResultSummary.Builder connectEnd(Double connectEnd) The time immediately after the vantage point finishes establishing the connection to the server to retrieve the resource.- Parameters:
- connectEnd- the value to set
- Returns:
- this builder
 
 - 
fetchStartpublic HttpProbeResultSummary.Builder fetchStart(Double fetchStart) The time immediately before the vantage point starts to fetch the resource.- Parameters:
- fetchStart- the value to set
- Returns:
- this builder
 
 - 
requestStartpublic HttpProbeResultSummary.Builder requestStart(Double requestStart) The time immediately before the vantage point starts requesting the resource from the server.- Parameters:
- requestStart- the value to set
- Returns:
- this builder
 
 - 
responseStartpublic HttpProbeResultSummary.Builder responseStart(Double responseStart) The time immediately after the vantage point’s HTTP parser receives the first byte of the response.- Parameters:
- responseStart- the value to set
- Returns:
- this builder
 
 - 
responseEndpublic HttpProbeResultSummary.Builder responseEnd(Double responseEnd) The time immediately after the vantage point receives the last byte of the response or immediately before the transport connection is closed, whichever comes first.- Parameters:
- responseEnd- the value to set
- Returns:
- this builder
 
 - 
durationpublic HttpProbeResultSummary.Builder duration(Double duration) The total duration from start of request until response is fully consumed or the connection is closed.- Parameters:
- duration- the value to set
- Returns:
- this builder
 
 - 
encodedBodySizepublic HttpProbeResultSummary.Builder encodedBodySize(Integer encodedBodySize) The size, in octets, of the payload body prior to removing any applied content-codings.- Parameters:
- encodedBodySize- the value to set
- Returns:
- this builder
 
 - 
buildpublic HttpProbeResultSummary build() 
 - 
copypublic HttpProbeResultSummary.Builder copy(HttpProbeResultSummary model) 
 
- 
 
-