Class GetHttpMonitorRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.healthchecks.requests.GetHttpMonitorRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetHttpMonitorRequest,Void>
- Enclosing class:
- GetHttpMonitorRequest
public static class GetHttpMonitorRequest.Builder extends Object implements BmcRequest.Builder<GetHttpMonitorRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetHttpMonitorRequestbuild()Build the instance of GetHttpMonitorRequest as configured by this builderGetHttpMonitorRequestbuildWithoutInvocationCallback()Build the instance of GetHttpMonitorRequest as configured by this builderGetHttpMonitorRequest.Buildercopy(GetHttpMonitorRequest o)Copy method to populate the builder with values from the given instance.GetHttpMonitorRequest.BuilderifNoneMatch(String ifNoneMatch)The If-None-Match header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is *, or having a selected representation with an entity-tag that does not match any of those listed in the field-value.GetHttpMonitorRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetHttpMonitorRequest.BuildermonitorId(String monitorId)The OCID of a monitor.GetHttpMonitorRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetHttpMonitorRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
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.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
monitorId
public GetHttpMonitorRequest.Builder monitorId(String monitorId)
The OCID of a monitor.- Parameters:
monitorId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetHttpMonitorRequest.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 instance
-
ifNoneMatch
public GetHttpMonitorRequest.Builder ifNoneMatch(String ifNoneMatch)
The If-None-Match header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is *, or having a selected representation with an entity-tag that does not match any of those listed in the field-value.- Parameters:
ifNoneMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetHttpMonitorRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetHttpMonitorRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetHttpMonitorRequest.Builder copy(GetHttpMonitorRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetHttpMonitorRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetHttpMonitorRequest build()
Build the instance of GetHttpMonitorRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<GetHttpMonitorRequest,Void>- Returns:
- instance of GetHttpMonitorRequest
-
buildWithoutInvocationCallback
public GetHttpMonitorRequest buildWithoutInvocationCallback()
Build the instance of GetHttpMonitorRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of GetHttpMonitorRequest
-
-