Package com.oracle.bmc.iot.requests
Class UpdateDigitalTwinModelRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.iot.requests.UpdateDigitalTwinModelRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateDigitalTwinModelRequest,UpdateDigitalTwinModelDetails>
 - Enclosing class:
- UpdateDigitalTwinModelRequest
 
 public static class UpdateDigitalTwinModelRequest.Builder extends Object implements BmcRequest.Builder<UpdateDigitalTwinModelRequest,UpdateDigitalTwinModelDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDigitalTwinModelRequest.Builderbody$(UpdateDigitalTwinModelDetails body)Alternative setter for the body parameter.UpdateDigitalTwinModelRequestbuild()Build the instance of UpdateDigitalTwinModelRequest as configured by this builderUpdateDigitalTwinModelRequestbuildWithoutInvocationCallback()Build the instance of UpdateDigitalTwinModelRequest as configured by this builderUpdateDigitalTwinModelRequest.Buildercopy(UpdateDigitalTwinModelRequest o)Copy method to populate the builder with values from the given instance.UpdateDigitalTwinModelRequest.BuilderdigitalTwinModelId(String digitalTwinModelId)The OCID of digital twin model.UpdateDigitalTwinModelRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateDigitalTwinModelRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateDigitalTwinModelRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateDigitalTwinModelRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateDigitalTwinModelRequest.BuilderupdateDigitalTwinModelDetails(UpdateDigitalTwinModelDetails updateDigitalTwinModelDetails)The digital twin model details to be updated.
 
- 
- 
- 
Method Detail- 
digitalTwinModelIdpublic UpdateDigitalTwinModelRequest.Builder digitalTwinModelId(String digitalTwinModelId) The OCID of digital twin model.- Parameters:
- digitalTwinModelId- the value to set
- Returns:
- this builder instance
 
 - 
updateDigitalTwinModelDetailspublic UpdateDigitalTwinModelRequest.Builder updateDigitalTwinModelDetails(UpdateDigitalTwinModelDetails updateDigitalTwinModelDetails) The digital twin model details to be updated.- Parameters:
- updateDigitalTwinModelDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateDigitalTwinModelRequest.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 UpdateDigitalTwinModelRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateDigitalTwinModelRequest.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 UpdateDigitalTwinModelRequest.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 UpdateDigitalTwinModelRequest.Builder copy(UpdateDigitalTwinModelRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateDigitalTwinModelRequest,UpdateDigitalTwinModelDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateDigitalTwinModelRequest build() Build the instance of UpdateDigitalTwinModelRequest 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<UpdateDigitalTwinModelRequest,UpdateDigitalTwinModelDetails>
- Returns:
- instance of UpdateDigitalTwinModelRequest
 
 - 
body$public UpdateDigitalTwinModelRequest.Builder body$(UpdateDigitalTwinModelDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateDigitalTwinModelRequest,UpdateDigitalTwinModelDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateDigitalTwinModelRequest buildWithoutInvocationCallback() Build the instance of UpdateDigitalTwinModelRequest 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 UpdateDigitalTwinModelRequest
 
 
- 
 
-