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