Class UpdateOccCustomerRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.requests.UpdateOccCustomerRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateOccCustomerRequest,UpdateOccCustomerDetails>
 - Enclosing class:
- UpdateOccCustomerRequest
 
 public static class UpdateOccCustomerRequest.Builder extends Object implements BmcRequest.Builder<UpdateOccCustomerRequest,UpdateOccCustomerDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOccCustomerRequest.Builderbody$(UpdateOccCustomerDetails body)Alternative setter for the body parameter.UpdateOccCustomerRequestbuild()Build the instance of UpdateOccCustomerRequest as configured by this builderUpdateOccCustomerRequestbuildWithoutInvocationCallback()Build the instance of UpdateOccCustomerRequest as configured by this builderUpdateOccCustomerRequest.Buildercopy(UpdateOccCustomerRequest o)Copy method to populate the builder with values from the given instance.UpdateOccCustomerRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateOccCustomerRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateOccCustomerRequest.BuilderoccCustomerGroupId(String occCustomerGroupId)The OCID of the customer group.UpdateOccCustomerRequest.BuilderoccCustomerId(String occCustomerId)The tenancy id of the customer.UpdateOccCustomerRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateOccCustomerRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateOccCustomerRequest.BuilderupdateOccCustomerDetails(UpdateOccCustomerDetails updateOccCustomerDetails)Request to update the properties of the customer group.
 
- 
- 
- 
Method Detail- 
updateOccCustomerDetailspublic UpdateOccCustomerRequest.Builder updateOccCustomerDetails(UpdateOccCustomerDetails updateOccCustomerDetails) Request to update the properties of the customer group.- Parameters:
- updateOccCustomerDetails- the value to set
- Returns:
- this builder instance
 
 - 
occCustomerGroupIdpublic UpdateOccCustomerRequest.Builder occCustomerGroupId(String occCustomerGroupId) The OCID of the customer group.- Parameters:
- occCustomerGroupId- the value to set
- Returns:
- this builder instance
 
 - 
occCustomerIdpublic UpdateOccCustomerRequest.Builder occCustomerId(String occCustomerId) The tenancy id of the customer.- Parameters:
- occCustomerId- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateOccCustomerRequest.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 UpdateOccCustomerRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.The only valid characters for request IDs are letters, numbers, underscore, and dash. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateOccCustomerRequest.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 UpdateOccCustomerRequest.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 UpdateOccCustomerRequest.Builder copy(UpdateOccCustomerRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateOccCustomerRequest,UpdateOccCustomerDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateOccCustomerRequest build() Build the instance of UpdateOccCustomerRequest 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<UpdateOccCustomerRequest,UpdateOccCustomerDetails>
- Returns:
- instance of UpdateOccCustomerRequest
 
 - 
body$public UpdateOccCustomerRequest.Builder body$(UpdateOccCustomerDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateOccCustomerRequest,UpdateOccCustomerDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateOccCustomerRequest buildWithoutInvocationCallback() Build the instance of UpdateOccCustomerRequest 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 UpdateOccCustomerRequest
 
 
- 
 
-