Class UpdateApiRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.requests.UpdateApiRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateApiRequest,UpdateApiDetails>
 - Enclosing class:
- UpdateApiRequest
 
 public static class UpdateApiRequest.Builder extends Object implements BmcRequest.Builder<UpdateApiRequest,UpdateApiDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateApiRequest.BuilderapiId(String apiId)The ocid of the API.UpdateApiRequest.Builderbody$(UpdateApiDetails body)Alternative setter for the body parameter.UpdateApiRequestbuild()Build the instance of UpdateApiRequest as configured by this builderUpdateApiRequestbuildWithoutInvocationCallback()Build the instance of UpdateApiRequest as configured by this builderUpdateApiRequest.Buildercopy(UpdateApiRequest o)Copy method to populate the builder with values from the given instance.UpdateApiRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateApiRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateApiRequest.BuilderisLockOverride(Boolean isLockOverride)Whether to override locks (if any exist).UpdateApiRequest.BuilderopcRequestId(String opcRequestId)The client request id for tracing.UpdateApiRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateApiRequest.BuilderupdateApiDetails(UpdateApiDetails updateApiDetails)The information to be updated.
 
- 
- 
- 
Method Detail- 
apiIdpublic UpdateApiRequest.Builder apiId(String apiId) The ocid of the API.- Parameters:
- apiId- the value to set
- Returns:
- this builder instance
 
 - 
updateApiDetailspublic UpdateApiRequest.Builder updateApiDetails(UpdateApiDetails updateApiDetails) The information to be updated.- Parameters:
- updateApiDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateApiRequest.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 UpdateApiRequest.Builder opcRequestId(String opcRequestId) The client request id for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
isLockOverridepublic UpdateApiRequest.Builder isLockOverride(Boolean isLockOverride) Whether to override locks (if any exist).- Parameters:
- isLockOverride- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateApiRequest.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 UpdateApiRequest.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 UpdateApiRequest.Builder copy(UpdateApiRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateApiRequest,UpdateApiDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateApiRequest build() Build the instance of UpdateApiRequest 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<UpdateApiRequest,UpdateApiDetails>
- Returns:
- instance of UpdateApiRequest
 
 - 
body$public UpdateApiRequest.Builder body$(UpdateApiDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateApiRequest,UpdateApiDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateApiRequest buildWithoutInvocationCallback() Build the instance of UpdateApiRequest 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 UpdateApiRequest
 
 
- 
 
-