Class UpdateWorkerRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmsynthetics.requests.UpdateWorkerRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateWorkerRequest,UpdateWorkerDetails>
 - Enclosing class:
- UpdateWorkerRequest
 
 public static class UpdateWorkerRequest.Builder extends Object implements BmcRequest.Builder<UpdateWorkerRequest,UpdateWorkerDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateWorkerRequest.BuilderapmDomainId(String apmDomainId)The APM domain ID the request is intended for.UpdateWorkerRequest.Builderbody$(UpdateWorkerDetails body)Alternative setter for the body parameter.UpdateWorkerRequestbuild()Build the instance of UpdateWorkerRequest as configured by this builderUpdateWorkerRequestbuildWithoutInvocationCallback()Build the instance of UpdateWorkerRequest as configured by this builderUpdateWorkerRequest.Buildercopy(UpdateWorkerRequest o)Copy method to populate the builder with values from the given instance.UpdateWorkerRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateWorkerRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateWorkerRequest.BuilderonPremiseVantagePointId(String onPremiseVantagePointId)The OCID of the On-premise vantage point.UpdateWorkerRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.UpdateWorkerRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateWorkerRequest.BuilderupdateWorkerDetails(UpdateWorkerDetails updateWorkerDetails)The information to be updated.UpdateWorkerRequest.BuilderworkerId(String workerId)The OCID of the On-premise vantage point worker.
 
- 
- 
- 
Method Detail- 
apmDomainIdpublic UpdateWorkerRequest.Builder apmDomainId(String apmDomainId) The APM domain ID the request is intended for.- Parameters:
- apmDomainId- the value to set
- Returns:
- this builder instance
 
 - 
onPremiseVantagePointIdpublic UpdateWorkerRequest.Builder onPremiseVantagePointId(String onPremiseVantagePointId) The OCID of the On-premise vantage point.- Parameters:
- onPremiseVantagePointId- the value to set
- Returns:
- this builder instance
 
 - 
workerIdpublic UpdateWorkerRequest.Builder workerId(String workerId) The OCID of the On-premise vantage point worker.- Parameters:
- workerId- the value to set
- Returns:
- this builder instance
 
 - 
updateWorkerDetailspublic UpdateWorkerRequest.Builder updateWorkerDetails(UpdateWorkerDetails updateWorkerDetails) The information to be updated.- Parameters:
- updateWorkerDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateWorkerRequest.Builder ifMatch(String ifMatch) For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value. - Parameters:
- ifMatch- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic UpdateWorkerRequest.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
 
 - 
invocationCallbackpublic UpdateWorkerRequest.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
 
 - 
retryConfigurationpublic UpdateWorkerRequest.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
 
 - 
copypublic UpdateWorkerRequest.Builder copy(UpdateWorkerRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateWorkerRequest,UpdateWorkerDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateWorkerRequest build() Build the instance of UpdateWorkerRequest 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 interface- BmcRequest.Builder<UpdateWorkerRequest,UpdateWorkerDetails>
- Returns:
- instance of UpdateWorkerRequest
 
 - 
body$public UpdateWorkerRequest.Builder body$(UpdateWorkerDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateWorkerRequest,UpdateWorkerDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateWorkerRequest buildWithoutInvocationCallback() Build the instance of UpdateWorkerRequest 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 UpdateWorkerRequest
 
 
- 
 
-