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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
desktopPoolIdpublic ChangeDesktopPoolCompartmentRequest.Builder desktopPoolId(String desktopPoolId) The OCID of the desktop pool.- Parameters:
- desktopPoolId- the value to set
- Returns:
- this builder instance
 
 - 
changeDesktopPoolCompartmentDetailspublic 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
 
 - 
opcRequestIdpublic ChangeDesktopPoolCompartmentRequest.Builder opcRequestId(String opcRequestId) The unique identifier of the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic ChangeDesktopPoolCompartmentRequest.Builder ifMatch(String ifMatch) For optimistic concurrency control.- Parameters:
- ifMatch- the value to set
- Returns:
- this builder instance
 
 - 
opcRetryTokenpublic ChangeDesktopPoolCompartmentRequest.Builder opcRetryToken(String opcRetryToken) A token that uniquely identifies a request.- Parameters:
- opcRetryToken- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic ChangeDesktopPoolCompartmentRequest.Builder copy(ChangeDesktopPoolCompartmentRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ChangeDesktopPoolCompartmentRequest,ChangeDesktopPoolCompartmentDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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 interface- BmcRequest.Builder<ChangeDesktopPoolCompartmentRequest,ChangeDesktopPoolCompartmentDetails>
- Returns:
- instance of ChangeDesktopPoolCompartmentRequest
 
 - 
body$public ChangeDesktopPoolCompartmentRequest.Builder body$(ChangeDesktopPoolCompartmentDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<ChangeDesktopPoolCompartmentRequest,ChangeDesktopPoolCompartmentDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-