Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PingProbe |
build() |
PingProbe.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
PingProbe.Builder |
copy(PingProbe model) |
PingProbe.Builder |
homeRegion(String homeRegion)
The region where updates must be made and where results must be fetched from.
|
PingProbe.Builder |
id(String id)
The OCID of the resource.
|
PingProbe.Builder |
port(Integer port)
The port on which to probe endpoints.
|
PingProbe.Builder |
protocol(PingProbeProtocol protocol) |
PingProbe.Builder |
resultsUrl(String resultsUrl)
A URL for fetching the probe results.
|
PingProbe.Builder |
targets(List<String> targets)
A list of targets (hostnames or IP addresses) of the probe.
|
PingProbe.Builder |
timeCreated(Date timeCreated)
The RFC 3339-formatted creation date and time of the probe.
|
PingProbe.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
The probe timeout in seconds.
|
PingProbe.Builder |
vantagePointNames(List<String> vantagePointNames)
A list of names of vantage points from which to execute the probe.
|
public PingProbe.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic PingProbe.Builder resultsUrl(String resultsUrl)
A URL for fetching the probe results.
resultsUrl
- the value to setpublic PingProbe.Builder homeRegion(String homeRegion)
The region where updates must be made and where results must be fetched from.
homeRegion
- the value to setpublic PingProbe.Builder timeCreated(Date timeCreated)
The RFC 3339-formatted creation date and time of the probe.
timeCreated
- the value to setpublic PingProbe.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic PingProbe.Builder targets(List<String> targets)
A list of targets (hostnames or IP addresses) of the probe.
targets
- the value to setpublic PingProbe.Builder vantagePointNames(List<String> vantagePointNames)
A list of names of vantage points from which to execute the probe.
vantagePointNames
- the value to setpublic PingProbe.Builder port(Integer port)
The port on which to probe endpoints. If unspecified, probes will use the default port of their protocol.
port
- the value to setpublic PingProbe.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.
timeoutInSeconds
- the value to setpublic PingProbe.Builder protocol(PingProbeProtocol protocol)
public PingProbe build()
public PingProbe.Builder copy(PingProbe model)
Copyright © 2016–2024. All rights reserved.