Class CreateOnDemandPingProbeDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.healthchecks.model.CreateOnDemandPingProbeDetails.Builder
 
- 
- Enclosing class:
- CreateOnDemandPingProbeDetails
 
 public static class CreateOnDemandPingProbeDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOnDemandPingProbeDetailsbuild()CreateOnDemandPingProbeDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreateOnDemandPingProbeDetails.Buildercopy(CreateOnDemandPingProbeDetails model)CreateOnDemandPingProbeDetails.Builderport(Integer port)The port on which to probe endpoints.CreateOnDemandPingProbeDetails.Builderprotocol(PingProbeProtocol protocol)CreateOnDemandPingProbeDetails.Buildertargets(List<String> targets)A list of targets (hostnames or IP addresses) of the probe.CreateOnDemandPingProbeDetails.BuildertimeoutInSeconds(Integer timeoutInSeconds)The probe timeout in seconds.CreateOnDemandPingProbeDetails.BuildervantagePointNames(List<String> vantagePointNames)A list of names of vantage points from which to execute the probe.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateOnDemandPingProbeDetails.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
targetspublic CreateOnDemandPingProbeDetails.Builder targets(List<String> targets) A list of targets (hostnames or IP addresses) of the probe.- Parameters:
- targets- the value to set
- Returns:
- this builder
 
 - 
vantagePointNamespublic CreateOnDemandPingProbeDetails.Builder vantagePointNames(List<String> vantagePointNames) A list of names of vantage points from which to execute the probe.- Parameters:
- vantagePointNames- the value to set
- Returns:
- this builder
 
 - 
portpublic CreateOnDemandPingProbeDetails.Builder port(Integer port) The port on which to probe endpoints.If unspecified, probes will use the default port of their protocol. - Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
timeoutInSecondspublic 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. - Parameters:
- timeoutInSeconds- the value to set
- Returns:
- this builder
 
 - 
protocolpublic CreateOnDemandPingProbeDetails.Builder protocol(PingProbeProtocol protocol) 
 - 
buildpublic CreateOnDemandPingProbeDetails build() 
 - 
copypublic CreateOnDemandPingProbeDetails.Builder copy(CreateOnDemandPingProbeDetails model) 
 
- 
 
-