Package com.oracle.bmc.usageapi.requests
Class UpdateCustomTableRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.usageapi.requests.UpdateCustomTableRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateCustomTableRequest,UpdateCustomTableDetails>
- Enclosing class:
- UpdateCustomTableRequest
public static class UpdateCustomTableRequest.Builder extends Object implements BmcRequest.Builder<UpdateCustomTableRequest,UpdateCustomTableDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCustomTableRequest.Builderbody$(UpdateCustomTableDetails body)Alternative setter for the body parameter.UpdateCustomTableRequestbuild()Build the instance of UpdateCustomTableRequest as configured by this builderUpdateCustomTableRequestbuildWithoutInvocationCallback()Build the instance of UpdateCustomTableRequest as configured by this builderUpdateCustomTableRequest.Buildercopy(UpdateCustomTableRequest o)Copy method to populate the builder with values from the given instance.UpdateCustomTableRequest.BuildercustomTableId(String customTableId)The custom table unique OCID.UpdateCustomTableRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateCustomTableRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateCustomTableRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateCustomTableRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateCustomTableRequest.BuilderupdateCustomTableDetails(UpdateCustomTableDetails updateCustomTableDetails)The information to be updated.
-
-
-
Method Detail
-
updateCustomTableDetails
public UpdateCustomTableRequest.Builder updateCustomTableDetails(UpdateCustomTableDetails updateCustomTableDetails)
The information to be updated.- Parameters:
updateCustomTableDetails- the value to set- Returns:
- this builder instance
-
customTableId
public UpdateCustomTableRequest.Builder customTableId(String customTableId)
The custom table unique OCID.- Parameters:
customTableId- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateCustomTableRequest.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
-
ifMatch
public UpdateCustomTableRequest.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
-
invocationCallback
public UpdateCustomTableRequest.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 UpdateCustomTableRequest.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 UpdateCustomTableRequest.Builder copy(UpdateCustomTableRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateCustomTableRequest,UpdateCustomTableDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateCustomTableRequest build()
Build the instance of UpdateCustomTableRequest 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<UpdateCustomTableRequest,UpdateCustomTableDetails>- Returns:
- instance of UpdateCustomTableRequest
-
body$
public UpdateCustomTableRequest.Builder body$(UpdateCustomTableDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateCustomTableRequest,UpdateCustomTableDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateCustomTableRequest buildWithoutInvocationCallback()
Build the instance of UpdateCustomTableRequest 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 UpdateCustomTableRequest
-
-