Package com.oracle.bmc.desktops.requests
Class DeleteDesktopPoolRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.requests.DeleteDesktopPoolRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<DeleteDesktopPoolRequest,Void>
- Enclosing class:
- DeleteDesktopPoolRequest
public static class DeleteDesktopPoolRequest.Builder extends Object implements BmcRequest.Builder<DeleteDesktopPoolRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteDesktopPoolRequest.Builder
areVolumesPreserved(Boolean areVolumesPreserved)
Whether the volumes are preserved when a desktop pool is deleted.DeleteDesktopPoolRequest
build()
Build the instance of DeleteDesktopPoolRequest as configured by this builderDeleteDesktopPoolRequest
buildWithoutInvocationCallback()
Build the instance of DeleteDesktopPoolRequest as configured by this builderDeleteDesktopPoolRequest.Builder
copy(DeleteDesktopPoolRequest o)
Copy method to populate the builder with values from the given instance.DeleteDesktopPoolRequest.Builder
desktopPoolId(String desktopPoolId)
The OCID of the desktop pool.DeleteDesktopPoolRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.DeleteDesktopPoolRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.DeleteDesktopPoolRequest.Builder
opcRequestId(String opcRequestId)
The unique identifier of the request.DeleteDesktopPoolRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
desktopPoolId
public DeleteDesktopPoolRequest.Builder desktopPoolId(String desktopPoolId)
The OCID of the desktop pool.- Parameters:
desktopPoolId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public DeleteDesktopPoolRequest.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
ifMatch
public DeleteDesktopPoolRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
areVolumesPreserved
public DeleteDesktopPoolRequest.Builder areVolumesPreserved(Boolean areVolumesPreserved)
Whether the volumes are preserved when a desktop pool is deleted.- Parameters:
areVolumesPreserved
- the value to set- Returns:
- this builder instance
-
invocationCallback
public DeleteDesktopPoolRequest.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 DeleteDesktopPoolRequest.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 DeleteDesktopPoolRequest.Builder copy(DeleteDesktopPoolRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<DeleteDesktopPoolRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public DeleteDesktopPoolRequest build()
Build the instance of DeleteDesktopPoolRequest 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<DeleteDesktopPoolRequest,Void>
- Returns:
- instance of DeleteDesktopPoolRequest
-
buildWithoutInvocationCallback
public DeleteDesktopPoolRequest buildWithoutInvocationCallback()
Build the instance of DeleteDesktopPoolRequest 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 DeleteDesktopPoolRequest
-
-