Class UpdateOfferRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplaceprivateoffer.requests.UpdateOfferRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateOfferRequest,UpdateOfferDetails>
 - Enclosing class:
- UpdateOfferRequest
 
 public static class UpdateOfferRequest.Builder extends Object implements BmcRequest.Builder<UpdateOfferRequest,UpdateOfferDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOfferRequest.Builderbody$(UpdateOfferDetails body)Alternative setter for the body parameter.UpdateOfferRequestbuild()Build the instance of UpdateOfferRequest as configured by this builderUpdateOfferRequestbuildWithoutInvocationCallback()Build the instance of UpdateOfferRequest as configured by this builderUpdateOfferRequest.Buildercopy(UpdateOfferRequest o)Copy method to populate the builder with values from the given instance.UpdateOfferRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateOfferRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateOfferRequest.BuilderofferId(String offerId)unique Offer identifierUpdateOfferRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateOfferRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateOfferRequest.BuilderupdateOfferDetails(UpdateOfferDetails updateOfferDetails)The information to be updated.
 
- 
- 
- 
Method Detail- 
offerIdpublic UpdateOfferRequest.Builder offerId(String offerId) unique Offer identifier- Parameters:
- offerId- the value to set
- Returns:
- this builder instance
 
 - 
updateOfferDetailspublic UpdateOfferRequest.Builder updateOfferDetails(UpdateOfferDetails updateOfferDetails) The information to be updated.- Parameters:
- updateOfferDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateOfferRequest.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 UpdateOfferRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateOfferRequest.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 UpdateOfferRequest.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 UpdateOfferRequest.Builder copy(UpdateOfferRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateOfferRequest,UpdateOfferDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateOfferRequest build() Build the instance of UpdateOfferRequest 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<UpdateOfferRequest,UpdateOfferDetails>
- Returns:
- instance of UpdateOfferRequest
 
 - 
body$public UpdateOfferRequest.Builder body$(UpdateOfferDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateOfferRequest,UpdateOfferDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateOfferRequest buildWithoutInvocationCallback() Build the instance of UpdateOfferRequest 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 UpdateOfferRequest
 
 
- 
 
-