public static class HttpProbeResultSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HttpProbeResultSummary |
build() |
HttpProbeResultSummary.Builder |
connectEnd(Double connectEnd)
The time immediately after the vantage point finishes establishing the connection to the
server to retrieve the resource.
|
HttpProbeResultSummary.Builder |
connection(TcpConnection connection) |
HttpProbeResultSummary.Builder |
connectStart(Double connectStart)
The time immediately before the vantage point starts establishing the connection to the
server to retrieve the resource.
|
HttpProbeResultSummary.Builder |
copy(HttpProbeResultSummary model) |
HttpProbeResultSummary.Builder |
dns(DNS dns) |
HttpProbeResultSummary.Builder |
domainLookupEnd(Double domainLookupEnd)
The time immediately before the vantage point finishes the domain name lookup for the
resource.
|
HttpProbeResultSummary.Builder |
domainLookupStart(Double domainLookupStart)
The time immediately before the vantage point starts the domain name lookup for the
resource.
|
HttpProbeResultSummary.Builder |
duration(Double duration)
The total duration from start of request until response is fully consumed or the
connection is closed.
|
HttpProbeResultSummary.Builder |
encodedBodySize(Integer encodedBodySize)
The size, in octets, of the payload body prior to removing any applied content-codings.
|
HttpProbeResultSummary.Builder |
errorCategory(HttpProbeResultSummary.ErrorCategory errorCategory)
The category of error if an error occurs executing the probe.
|
HttpProbeResultSummary.Builder |
errorMessage(String errorMessage)
The error information indicating why a probe execution failed.
|
HttpProbeResultSummary.Builder |
fetchStart(Double fetchStart)
The time immediately before the vantage point starts to fetch the resource.
|
HttpProbeResultSummary.Builder |
isHealthy(Boolean isHealthy)
True if the probe result is determined to be healthy based on probe type-specific
criteria.
|
HttpProbeResultSummary.Builder |
isTimedOut(Boolean isTimedOut)
True if the probe did not complete before the configured
timeoutInSeconds value. |
HttpProbeResultSummary.Builder |
key(String key)
A value identifying this specific probe result.
|
HttpProbeResultSummary.Builder |
probeConfigurationId(String probeConfigurationId)
The OCID of the monitor or on-demand probe responsible for creating this result.
|
HttpProbeResultSummary.Builder |
protocol(HttpProbeProtocol protocol) |
HttpProbeResultSummary.Builder |
requestStart(Double requestStart)
The time immediately before the vantage point starts requesting the resource from the
server.
|
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.
|
HttpProbeResultSummary.Builder |
responseStart(Double responseStart)
The time immediately after the vantage point’s HTTP parser receives the first byte of the
response.
|
HttpProbeResultSummary.Builder |
secureConnectionStart(Double secureConnectionStart)
The time immediately before the vantage point starts the handshake process to secure the
current connection.
|
HttpProbeResultSummary.Builder |
startTime(Double startTime)
The date and time the probe was executed, expressed in milliseconds since the POSIX
epoch.
|
HttpProbeResultSummary.Builder |
statusCode(Integer statusCode)
The HTTP response status code.
|
HttpProbeResultSummary.Builder |
target(String target)
The target hostname or IP address of the probe.
|
HttpProbeResultSummary.Builder |
vantagePointName(String vantagePointName)
The name of the vantage point that executed the probe.
|
public 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.
key
- the value to setpublic HttpProbeResultSummary.Builder probeConfigurationId(String probeConfigurationId)
The OCID of the monitor or on-demand probe responsible for creating this result.
probeConfigurationId
- the value to setpublic 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.
startTime
- the value to setpublic HttpProbeResultSummary.Builder target(String target)
The target hostname or IP address of the probe.
target
- the value to setpublic HttpProbeResultSummary.Builder vantagePointName(String vantagePointName)
The name of the vantage point that executed the probe.
vantagePointName
- the value to setpublic HttpProbeResultSummary.Builder isTimedOut(Boolean isTimedOut)
True if the probe did not complete before the configured timeoutInSeconds
value.
isTimedOut
- the value to setpublic 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.
isHealthy
- the value to setpublic 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.
errorCategory
- the value to setpublic HttpProbeResultSummary.Builder errorMessage(String errorMessage)
The error information indicating why a probe execution failed.
errorMessage
- the value to setpublic HttpProbeResultSummary.Builder protocol(HttpProbeProtocol protocol)
public HttpProbeResultSummary.Builder connection(TcpConnection connection)
public HttpProbeResultSummary.Builder dns(DNS dns)
public HttpProbeResultSummary.Builder statusCode(Integer statusCode)
The HTTP response status code.
statusCode
- the value to setpublic HttpProbeResultSummary.Builder domainLookupStart(Double domainLookupStart)
The time immediately before the vantage point starts the domain name lookup for the resource.
domainLookupStart
- the value to setpublic HttpProbeResultSummary.Builder domainLookupEnd(Double domainLookupEnd)
The time immediately before the vantage point finishes the domain name lookup for the resource.
domainLookupEnd
- the value to setpublic HttpProbeResultSummary.Builder connectStart(Double connectStart)
The time immediately before the vantage point starts establishing the connection to the server to retrieve the resource.
connectStart
- the value to setpublic HttpProbeResultSummary.Builder secureConnectionStart(Double secureConnectionStart)
The time immediately before the vantage point starts the handshake process to secure the current connection.
secureConnectionStart
- the value to setpublic HttpProbeResultSummary.Builder connectEnd(Double connectEnd)
The time immediately after the vantage point finishes establishing the connection to the server to retrieve the resource.
connectEnd
- the value to setpublic HttpProbeResultSummary.Builder fetchStart(Double fetchStart)
The time immediately before the vantage point starts to fetch the resource.
fetchStart
- the value to setpublic HttpProbeResultSummary.Builder requestStart(Double requestStart)
The time immediately before the vantage point starts requesting the resource from the server.
requestStart
- the value to setpublic HttpProbeResultSummary.Builder responseStart(Double responseStart)
The time immediately after the vantage point’s HTTP parser receives the first byte of the response.
responseStart
- the value to setpublic 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.
responseEnd
- the value to setpublic HttpProbeResultSummary.Builder duration(Double duration)
The total duration from start of request until response is fully consumed or the connection is closed.
duration
- the value to setpublic HttpProbeResultSummary.Builder encodedBodySize(Integer encodedBodySize)
The size, in octets, of the payload body prior to removing any applied content-codings.
encodedBodySize
- the value to setpublic HttpProbeResultSummary build()
public HttpProbeResultSummary.Builder copy(HttpProbeResultSummary model)
Copyright © 2016–2024. All rights reserved.