Class DeleteTargetRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.requests.DeleteTargetRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<DeleteTargetRequest,Void>
 - Enclosing class:
- DeleteTargetRequest
 
 public static class DeleteTargetRequest.Builder extends Object implements BmcRequest.Builder<DeleteTargetRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteTargetRequestbuild()Build the instance of DeleteTargetRequest as configured by this builderDeleteTargetRequestbuildWithoutInvocationCallback()Build the instance of DeleteTargetRequest as configured by this builderDeleteTargetRequest.Buildercopy(DeleteTargetRequest o)Copy method to populate the builder with values from the given instance.DeleteTargetRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.DeleteTargetRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.DeleteTargetRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.DeleteTargetRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.DeleteTargetRequest.BuildertargetId(String targetId)OCID of the target- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
targetIdpublic DeleteTargetRequest.Builder targetId(String targetId) OCID of the target- Parameters:
- targetId- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic DeleteTargetRequest.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 DeleteTargetRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic DeleteTargetRequest.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 DeleteTargetRequest.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 DeleteTargetRequest.Builder copy(DeleteTargetRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<DeleteTargetRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic DeleteTargetRequest build() Build the instance of DeleteTargetRequest 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<DeleteTargetRequest,Void>
- Returns:
- instance of DeleteTargetRequest
 
 - 
buildWithoutInvocationCallbackpublic DeleteTargetRequest buildWithoutInvocationCallback() Build the instance of DeleteTargetRequest 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 DeleteTargetRequest
 
 
- 
 
-