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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
desktopIdpublic UpdateDesktopRequest.Builder desktopId(String desktopId) The OCID of the desktop.- Parameters:
- desktopId- the value to set
- Returns:
- this builder instance
 
 - 
updateDesktopDetailspublic UpdateDesktopRequest.Builder updateDesktopDetails(UpdateDesktopDetails updateDesktopDetails) The details of the update.- Parameters:
- updateDesktopDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic UpdateDesktopRequest.Builder opcRequestId(String opcRequestId) The unique identifier of the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateDesktopRequest.Builder ifMatch(String ifMatch) For optimistic concurrency control.- Parameters:
- ifMatch- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic UpdateDesktopRequest.Builder copy(UpdateDesktopRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateDesktopRequest,UpdateDesktopDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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 interface- BmcRequest.Builder<UpdateDesktopRequest,UpdateDesktopDetails>
- Returns:
- instance of UpdateDesktopRequest
 
 - 
body$public UpdateDesktopRequest.Builder body$(UpdateDesktopDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateDesktopRequest,UpdateDesktopDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-