Class GetWorkerRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.requests.GetWorkerRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetWorkerRequest,Void>
- Enclosing class:
- GetWorkerRequest
public static class GetWorkerRequest.Builder extends Object implements BmcRequest.Builder<GetWorkerRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetWorkerRequest.BuilderapmDomainId(String apmDomainId)The APM domain ID the request is intended for.GetWorkerRequestbuild()Build the instance of GetWorkerRequest as configured by this builderGetWorkerRequestbuildWithoutInvocationCallback()Build the instance of GetWorkerRequest as configured by this builderGetWorkerRequest.Buildercopy(GetWorkerRequest o)Copy method to populate the builder with values from the given instance.GetWorkerRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetWorkerRequest.BuilderonPremiseVantagePointId(String onPremiseVantagePointId)The OCID of the On-premise vantage point.GetWorkerRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.GetWorkerRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetWorkerRequest.BuilderworkerId(String workerId)The OCID of the On-premise vantage point worker.-
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
-
apmDomainId
public GetWorkerRequest.Builder apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.- Parameters:
apmDomainId- the value to set- Returns:
- this builder instance
-
onPremiseVantagePointId
public GetWorkerRequest.Builder onPremiseVantagePointId(String onPremiseVantagePointId)
The OCID of the On-premise vantage point.- Parameters:
onPremiseVantagePointId- the value to set- Returns:
- this builder instance
-
workerId
public GetWorkerRequest.Builder workerId(String workerId)
The OCID of the On-premise vantage point worker.- Parameters:
workerId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetWorkerRequest.Builder opcRequestId(String opcRequestId)
Unique 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 GetWorkerRequest.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 GetWorkerRequest.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 GetWorkerRequest.Builder copy(GetWorkerRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetWorkerRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetWorkerRequest build()
Build the instance of GetWorkerRequest 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<GetWorkerRequest,Void>- Returns:
- instance of GetWorkerRequest
-
buildWithoutInvocationCallback
public GetWorkerRequest buildWithoutInvocationCallback()
Build the instance of GetWorkerRequest 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 GetWorkerRequest
-
-