Package com.oracle.bmc.desktops.requests
Class UpdateDesktopRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.requests.UpdateDesktopRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateDesktopRequest,UpdateDesktopDetails>
- Enclosing class:
- UpdateDesktopRequest
public static class UpdateDesktopRequest.Builder extends Object implements BmcRequest.Builder<UpdateDesktopRequest,UpdateDesktopDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDesktopRequest.Builderbody$(UpdateDesktopDetails body)Alternative setter for the body parameter.UpdateDesktopRequestbuild()Build the instance of UpdateDesktopRequest as configured by this builderUpdateDesktopRequestbuildWithoutInvocationCallback()Build the instance of UpdateDesktopRequest as configured by this builderUpdateDesktopRequest.Buildercopy(UpdateDesktopRequest o)Copy method to populate the builder with values from the given instance.UpdateDesktopRequest.BuilderdesktopId(String desktopId)The OCID of the desktop.UpdateDesktopRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateDesktopRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateDesktopRequest.BuilderopcRequestId(String opcRequestId)The unique identifier of the request.UpdateDesktopRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateDesktopRequest.BuilderupdateDesktopDetails(UpdateDesktopDetails updateDesktopDetails)The details of the update.
-
-
-
Method Detail
-
desktopId
public UpdateDesktopRequest.Builder desktopId(String desktopId)
The OCID of the desktop.- Parameters:
desktopId- the value to set- Returns:
- this builder instance
-
updateDesktopDetails
public UpdateDesktopRequest.Builder updateDesktopDetails(UpdateDesktopDetails updateDesktopDetails)
The details of the update.- Parameters:
updateDesktopDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateDesktopRequest.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateDesktopRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateDesktopRequest.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 UpdateDesktopRequest.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 UpdateDesktopRequest.Builder copy(UpdateDesktopRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateDesktopRequest,UpdateDesktopDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateDesktopRequest build()
Build the instance of UpdateDesktopRequest 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<UpdateDesktopRequest,UpdateDesktopDetails>- Returns:
- instance of UpdateDesktopRequest
-
body$
public UpdateDesktopRequest.Builder body$(UpdateDesktopDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateDesktopRequest,UpdateDesktopDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateDesktopRequest buildWithoutInvocationCallback()
Build the instance of UpdateDesktopRequest 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 UpdateDesktopRequest
-
-