Package com.oracle.bmc.desktops.requests
Class CreateDesktopPoolRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.desktops.requests.CreateDesktopPoolRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateDesktopPoolRequest,CreateDesktopPoolDetails>
 - Enclosing class:
- CreateDesktopPoolRequest
 
 public static class CreateDesktopPoolRequest.Builder extends Object implements BmcRequest.Builder<CreateDesktopPoolRequest,CreateDesktopPoolDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDesktopPoolRequest.Builderbody$(CreateDesktopPoolDetails body)Alternative setter for the body parameter.CreateDesktopPoolRequestbuild()Build the instance of CreateDesktopPoolRequest as configured by this builderCreateDesktopPoolRequestbuildWithoutInvocationCallback()Build the instance of CreateDesktopPoolRequest as configured by this builderCreateDesktopPoolRequest.Buildercopy(CreateDesktopPoolRequest o)Copy method to populate the builder with values from the given instance.CreateDesktopPoolRequest.BuildercreateDesktopPoolDetails(CreateDesktopPoolDetails createDesktopPoolDetails)The details of the desktop pool to create.CreateDesktopPoolRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateDesktopPoolRequest.BuilderopcRequestId(String opcRequestId)The unique identifier of the request.CreateDesktopPoolRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request.CreateDesktopPoolRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
createDesktopPoolDetailspublic CreateDesktopPoolRequest.Builder createDesktopPoolDetails(CreateDesktopPoolDetails createDesktopPoolDetails) The details of the desktop pool to create.- Parameters:
- createDesktopPoolDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRetryTokenpublic CreateDesktopPoolRequest.Builder opcRetryToken(String opcRetryToken) A token that uniquely identifies a request.- Parameters:
- opcRetryToken- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateDesktopPoolRequest.Builder opcRequestId(String opcRequestId) The unique identifier of the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateDesktopPoolRequest.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 CreateDesktopPoolRequest.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 CreateDesktopPoolRequest.Builder copy(CreateDesktopPoolRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateDesktopPoolRequest,CreateDesktopPoolDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateDesktopPoolRequest build() Build the instance of CreateDesktopPoolRequest 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<CreateDesktopPoolRequest,CreateDesktopPoolDetails>
- Returns:
- instance of CreateDesktopPoolRequest
 
 - 
body$public CreateDesktopPoolRequest.Builder body$(CreateDesktopPoolDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateDesktopPoolRequest,CreateDesktopPoolDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateDesktopPoolRequest buildWithoutInvocationCallback() Build the instance of CreateDesktopPoolRequest 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 CreateDesktopPoolRequest
 
 
- 
 
-