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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDesktopPoolRequest.Builder
body$(CreateDesktopPoolDetails body)
Alternative setter for the body parameter.CreateDesktopPoolRequest
build()
Build the instance of CreateDesktopPoolRequest as configured by this builderCreateDesktopPoolRequest
buildWithoutInvocationCallback()
Build the instance of CreateDesktopPoolRequest as configured by this builderCreateDesktopPoolRequest.Builder
copy(CreateDesktopPoolRequest o)
Copy method to populate the builder with values from the given instance.CreateDesktopPoolRequest.Builder
createDesktopPoolDetails(CreateDesktopPoolDetails createDesktopPoolDetails)
The details of the desktop pool to create.CreateDesktopPoolRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.CreateDesktopPoolRequest.Builder
opcRequestId(String opcRequestId)
The unique identifier of the request.CreateDesktopPoolRequest.Builder
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request.CreateDesktopPoolRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
createDesktopPoolDetails
public CreateDesktopPoolRequest.Builder createDesktopPoolDetails(CreateDesktopPoolDetails createDesktopPoolDetails)
The details of the desktop pool to create.- Parameters:
createDesktopPoolDetails
- the value to set- Returns:
- this builder instance
-
opcRetryToken
public CreateDesktopPoolRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request.- Parameters:
opcRetryToken
- the value to set- Returns:
- this builder instance
-
opcRequestId
public CreateDesktopPoolRequest.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public 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
-
retryConfiguration
public 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
-
copy
public CreateDesktopPoolRequest.Builder copy(CreateDesktopPoolRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<CreateDesktopPoolRequest,CreateDesktopPoolDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public 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:
build
in interfaceBmcRequest.Builder<CreateDesktopPoolRequest,CreateDesktopPoolDetails>
- Returns:
- instance of CreateDesktopPoolRequest
-
body$
public CreateDesktopPoolRequest.Builder body$(CreateDesktopPoolDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<CreateDesktopPoolRequest,CreateDesktopPoolDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public 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
-
-