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