Package com.oracle.bmc.core.requests
Class UpdateVtapRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.UpdateVtapRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateVtapRequest,UpdateVtapDetails>
- Enclosing class:
- UpdateVtapRequest
public static class UpdateVtapRequest.Builder extends Object implements BmcRequest.Builder<UpdateVtapRequest,UpdateVtapDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateVtapRequest.Builder
body$(UpdateVtapDetails body)
Alternative setter for the body parameter.UpdateVtapRequest
build()
Build the instance of UpdateVtapRequest as configured by this builderUpdateVtapRequest
buildWithoutInvocationCallback()
Build the instance of UpdateVtapRequest as configured by this builderUpdateVtapRequest.Builder
copy(UpdateVtapRequest o)
Copy method to populate the builder with values from the given instance.UpdateVtapRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdateVtapRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateVtapRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.UpdateVtapRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateVtapRequest.Builder
updateVtapDetails(UpdateVtapDetails updateVtapDetails)
Details object for updating a VTAP.UpdateVtapRequest.Builder
vtapId(String vtapId)
The OCID of the VTAP.
-
-
-
Method Detail
-
vtapId
public UpdateVtapRequest.Builder vtapId(String vtapId)
The OCID of the VTAP.- Parameters:
vtapId
- the value to set- Returns:
- this builder instance
-
updateVtapDetails
public UpdateVtapRequest.Builder updateVtapDetails(UpdateVtapDetails updateVtapDetails)
Details object for updating a VTAP.- Parameters:
updateVtapDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateVtapRequest.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
-
opcRequestId
public UpdateVtapRequest.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 UpdateVtapRequest.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 UpdateVtapRequest.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 UpdateVtapRequest.Builder copy(UpdateVtapRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateVtapRequest,UpdateVtapDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateVtapRequest build()
Build the instance of UpdateVtapRequest 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:
build
in interfaceBmcRequest.Builder<UpdateVtapRequest,UpdateVtapDetails>
- Returns:
- instance of UpdateVtapRequest
-
body$
public UpdateVtapRequest.Builder body$(UpdateVtapDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateVtapRequest,UpdateVtapDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateVtapRequest buildWithoutInvocationCallback()
Build the instance of UpdateVtapRequest 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 UpdateVtapRequest
-
-