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