Class CreateHttpMonitorResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.healthchecks.responses.CreateHttpMonitorResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateHttpMonitorResponse>
- Enclosing class:
- CreateHttpMonitorResponse
public static class CreateHttpMonitorResponse.Builder extends Object implements BmcResponse.Builder<CreateHttpMonitorResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateHttpMonitorResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateHttpMonitorResponsebuild()Build the response object.CreateHttpMonitorResponse.Buildercopy(CreateHttpMonitorResponse o)Copy method to populate the builder with values from the given instance.CreateHttpMonitorResponse.Builderetag(String etag)For optimistic concurrency control.CreateHttpMonitorResponse.Builderheaders(Map<String,List<String>> headers)CreateHttpMonitorResponse.BuilderhttpMonitor(HttpMonitor httpMonitor)The returned HttpMonitor instance.CreateHttpMonitorResponse.Builderlocation(String location)The URL of the newly created monitor.CreateHttpMonitorResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.-
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 CreateHttpMonitorResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateHttpMonitorResponse>
-
headers
public CreateHttpMonitorResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateHttpMonitorResponse>
-
opcRequestId
public CreateHttpMonitorResponse.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 CreateHttpMonitorResponse.Builder location(String location)
The URL of the newly created monitor.- Parameters:
location- the value to set- Returns:
- this builder
-
etag
public CreateHttpMonitorResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
httpMonitor
public CreateHttpMonitorResponse.Builder httpMonitor(HttpMonitor httpMonitor)
The returned HttpMonitor instance.- Parameters:
httpMonitor- the value to set- Returns:
- this builder
-
copy
public CreateHttpMonitorResponse.Builder copy(CreateHttpMonitorResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateHttpMonitorResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateHttpMonitorResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateHttpMonitorResponse>- Returns:
- the response object
-
-