Class CreateOnDemandHttpProbeRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.healthchecks.requests.CreateOnDemandHttpProbeRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<CreateOnDemandHttpProbeRequest,CreateOnDemandHttpProbeDetails>
- Enclosing class:
- CreateOnDemandHttpProbeRequest
public static class CreateOnDemandHttpProbeRequest.Builder extends Object implements BmcRequest.Builder<CreateOnDemandHttpProbeRequest,CreateOnDemandHttpProbeDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOnDemandHttpProbeRequest.Builderbody$(CreateOnDemandHttpProbeDetails body)Alternative setter for the body parameter.CreateOnDemandHttpProbeRequestbuild()Build the instance of CreateOnDemandHttpProbeRequest as configured by this builderCreateOnDemandHttpProbeRequestbuildWithoutInvocationCallback()Build the instance of CreateOnDemandHttpProbeRequest as configured by this builderCreateOnDemandHttpProbeRequest.Buildercopy(CreateOnDemandHttpProbeRequest o)Copy method to populate the builder with values from the given instance.CreateOnDemandHttpProbeRequest.BuildercreateOnDemandHttpProbeDetails(CreateOnDemandHttpProbeDetails createOnDemandHttpProbeDetails)The configuration of the HTTP probe.CreateOnDemandHttpProbeRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateOnDemandHttpProbeRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateOnDemandHttpProbeRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
createOnDemandHttpProbeDetails
public CreateOnDemandHttpProbeRequest.Builder createOnDemandHttpProbeDetails(CreateOnDemandHttpProbeDetails createOnDemandHttpProbeDetails)
The configuration of the HTTP probe.- Parameters:
createOnDemandHttpProbeDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public CreateOnDemandHttpProbeRequest.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
-
invocationCallback
public CreateOnDemandHttpProbeRequest.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 CreateOnDemandHttpProbeRequest.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 CreateOnDemandHttpProbeRequest.Builder copy(CreateOnDemandHttpProbeRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<CreateOnDemandHttpProbeRequest,CreateOnDemandHttpProbeDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateOnDemandHttpProbeRequest build()
Build the instance of CreateOnDemandHttpProbeRequest 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<CreateOnDemandHttpProbeRequest,CreateOnDemandHttpProbeDetails>- Returns:
- instance of CreateOnDemandHttpProbeRequest
-
body$
public CreateOnDemandHttpProbeRequest.Builder body$(CreateOnDemandHttpProbeDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<CreateOnDemandHttpProbeRequest,CreateOnDemandHttpProbeDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public CreateOnDemandHttpProbeRequest buildWithoutInvocationCallback()
Build the instance of CreateOnDemandHttpProbeRequest 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 CreateOnDemandHttpProbeRequest
-
-