Class CreatePingMonitorResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.healthchecks.responses.CreatePingMonitorResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreatePingMonitorResponse>
- Enclosing class:
- CreatePingMonitorResponse
public static class CreatePingMonitorResponse.Builder extends Object implements BmcResponse.Builder<CreatePingMonitorResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePingMonitorResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreatePingMonitorResponsebuild()Build the response object.CreatePingMonitorResponse.Buildercopy(CreatePingMonitorResponse o)Copy method to populate the builder with values from the given instance.CreatePingMonitorResponse.Builderetag(String etag)An entity tag that uniquely identifies a version of the resource.CreatePingMonitorResponse.Builderheaders(Map<String,List<String>> headers)CreatePingMonitorResponse.Builderlocation(String location)The URL of the newly created monitor.CreatePingMonitorResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreatePingMonitorResponse.BuilderpingMonitor(PingMonitor pingMonitor)The returned PingMonitor 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 CreatePingMonitorResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreatePingMonitorResponse>
-
headers
public CreatePingMonitorResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreatePingMonitorResponse>
-
opcRequestId
public CreatePingMonitorResponse.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 CreatePingMonitorResponse.Builder location(String location)
The URL of the newly created monitor.- Parameters:
location- the value to set- Returns:
- this builder
-
etag
public CreatePingMonitorResponse.Builder etag(String etag)
An entity tag that uniquely identifies a version of the resource.- Parameters:
etag- the value to set- Returns:
- this builder
-
pingMonitor
public CreatePingMonitorResponse.Builder pingMonitor(PingMonitor pingMonitor)
The returned PingMonitor instance.- Parameters:
pingMonitor- the value to set- Returns:
- this builder
-
copy
public CreatePingMonitorResponse.Builder copy(CreatePingMonitorResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreatePingMonitorResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreatePingMonitorResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreatePingMonitorResponse>- Returns:
- the response object
-
-