Class GetPingMonitorRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.healthchecks.requests.GetPingMonitorRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetPingMonitorRequest,Void>
- Enclosing class:
- GetPingMonitorRequest
public static class GetPingMonitorRequest.Builder extends Object implements BmcRequest.Builder<GetPingMonitorRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPingMonitorRequestbuild()Build the instance of GetPingMonitorRequest as configured by this builderGetPingMonitorRequestbuildWithoutInvocationCallback()Build the instance of GetPingMonitorRequest as configured by this builderGetPingMonitorRequest.Buildercopy(GetPingMonitorRequest o)Copy method to populate the builder with values from the given instance.GetPingMonitorRequest.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.GetPingMonitorRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetPingMonitorRequest.BuildermonitorId(String monitorId)The OCID of a monitor.GetPingMonitorRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetPingMonitorRequest.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 GetPingMonitorRequest.Builder monitorId(String monitorId)
The OCID of a monitor.- Parameters:
monitorId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetPingMonitorRequest.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 GetPingMonitorRequest.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 GetPingMonitorRequest.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 GetPingMonitorRequest.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 GetPingMonitorRequest.Builder copy(GetPingMonitorRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetPingMonitorRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetPingMonitorRequest build()
Build the instance of GetPingMonitorRequest 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<GetPingMonitorRequest,Void>- Returns:
- instance of GetPingMonitorRequest
-
buildWithoutInvocationCallback
public GetPingMonitorRequest buildWithoutInvocationCallback()
Build the instance of GetPingMonitorRequest 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 GetPingMonitorRequest
-
-