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