public static class CreateOnDemandPingProbeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateOnDemandPingProbeDetails |
build() |
CreateOnDemandPingProbeDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
CreateOnDemandPingProbeDetails.Builder |
copy(CreateOnDemandPingProbeDetails model) |
CreateOnDemandPingProbeDetails.Builder |
port(Integer port)
The port on which to probe endpoints.
|
CreateOnDemandPingProbeDetails.Builder |
protocol(PingProbeProtocol protocol) |
CreateOnDemandPingProbeDetails.Builder |
targets(List<String> targets)
A list of targets (hostnames or IP addresses) of the probe.
|
CreateOnDemandPingProbeDetails.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
The probe timeout in seconds.
|
CreateOnDemandPingProbeDetails.Builder |
vantagePointNames(List<String> vantagePointNames)
A list of names of vantage points from which to execute the probe.
|
public CreateOnDemandPingProbeDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic CreateOnDemandPingProbeDetails.Builder targets(List<String> targets)
A list of targets (hostnames or IP addresses) of the probe.
targets
- the value to setpublic CreateOnDemandPingProbeDetails.Builder vantagePointNames(List<String> vantagePointNames)
A list of names of vantage points from which to execute the probe.
vantagePointNames
- the value to setpublic CreateOnDemandPingProbeDetails.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 CreateOnDemandPingProbeDetails.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 CreateOnDemandPingProbeDetails.Builder protocol(PingProbeProtocol protocol)
public CreateOnDemandPingProbeDetails build()
public CreateOnDemandPingProbeDetails.Builder copy(CreateOnDemandPingProbeDetails model)
Copyright © 2016–2024. All rights reserved.