Class CreateOnDemandPingProbeResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.healthchecks.responses.CreateOnDemandPingProbeResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateOnDemandPingProbeResponse>
- Enclosing class:
- CreateOnDemandPingProbeResponse
public static class CreateOnDemandPingProbeResponse.Builder extends Object implements BmcResponse.Builder<CreateOnDemandPingProbeResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOnDemandPingProbeResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateOnDemandPingProbeResponsebuild()Build the response object.CreateOnDemandPingProbeResponse.Buildercopy(CreateOnDemandPingProbeResponse o)Copy method to populate the builder with values from the given instance.CreateOnDemandPingProbeResponse.Builderheaders(Map<String,List<String>> headers)CreateOnDemandPingProbeResponse.Builderlocation(String location)The URL for fetching probe results.CreateOnDemandPingProbeResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateOnDemandPingProbeResponse.BuilderpingProbe(PingProbe pingProbe)The returned PingProbe instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public CreateOnDemandPingProbeResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateOnDemandPingProbeResponse>
-
headers
public CreateOnDemandPingProbeResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateOnDemandPingProbeResponse>
-
opcRequestId
public CreateOnDemandPingProbeResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
location
public CreateOnDemandPingProbeResponse.Builder location(String location)
The URL for fetching probe results.- Parameters:
location- the value to set- Returns:
- this builder
-
pingProbe
public CreateOnDemandPingProbeResponse.Builder pingProbe(PingProbe pingProbe)
The returned PingProbe instance.- Parameters:
pingProbe- the value to set- Returns:
- this builder
-
copy
public CreateOnDemandPingProbeResponse.Builder copy(CreateOnDemandPingProbeResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateOnDemandPingProbeResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateOnDemandPingProbeResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateOnDemandPingProbeResponse>- Returns:
- the response object
-
-