Package com.oracle.bmc.desktops.requests
Class ListDesktopPoolVolumesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.requests.ListDesktopPoolVolumesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDesktopPoolVolumesRequest,Void>
- Enclosing class:
- ListDesktopPoolVolumesRequest
public static class ListDesktopPoolVolumesRequest.Builder extends Object implements BmcRequest.Builder<ListDesktopPoolVolumesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDesktopPoolVolumesRequest.Builder
availabilityDomain(String availabilityDomain)
The name of the availability domain.ListDesktopPoolVolumesRequest
build()
Build the instance of ListDesktopPoolVolumesRequest as configured by this builderListDesktopPoolVolumesRequest
buildWithoutInvocationCallback()
Build the instance of ListDesktopPoolVolumesRequest as configured by this builderListDesktopPoolVolumesRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment of the desktop pool.ListDesktopPoolVolumesRequest.Builder
copy(ListDesktopPoolVolumesRequest o)
Copy method to populate the builder with values from the given instance.ListDesktopPoolVolumesRequest.Builder
desktopPoolId(String desktopPoolId)
The OCID of the desktop pool.ListDesktopPoolVolumesRequest.Builder
displayName(String displayName)
A filter to return only results with the given displayName.ListDesktopPoolVolumesRequest.Builder
id(String id)
A filter to return only results with the given OCID.ListDesktopPoolVolumesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDesktopPoolVolumesRequest.Builder
lifecycleState(String lifecycleState)
A filter to return only results with the given lifecycleState.ListDesktopPoolVolumesRequest.Builder
limit(Integer limit)
The maximum number of results to return.ListDesktopPoolVolumesRequest.Builder
opcRequestId(String opcRequestId)
The unique identifier of the request.ListDesktopPoolVolumesRequest.Builder
page(String page)
For list pagination.ListDesktopPoolVolumesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDesktopPoolVolumesRequest.Builder
sortBy(ListDesktopPoolVolumesRequest.SortBy sortBy)
A field to sort by.ListDesktopPoolVolumesRequest.Builder
sortOrder(ListDesktopPoolVolumesRequest.SortOrder sortOrder)
A field to indicate the sort order.-
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 ListDesktopPoolVolumesRequest.Builder desktopPoolId(String desktopPoolId)
The OCID of the desktop pool.- Parameters:
desktopPoolId
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListDesktopPoolVolumesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment of the desktop pool.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
availabilityDomain
public ListDesktopPoolVolumesRequest.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder instance
-
displayName
public ListDesktopPoolVolumesRequest.Builder displayName(String displayName)
A filter to return only results with the given displayName.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
id
public ListDesktopPoolVolumesRequest.Builder id(String id)
A filter to return only results with the given OCID.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDesktopPoolVolumesRequest.Builder lifecycleState(String lifecycleState)
A filter to return only results with the given lifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
limit
public ListDesktopPoolVolumesRequest.Builder limit(Integer limit)
The maximum number of results to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
sortBy
public ListDesktopPoolVolumesRequest.Builder sortBy(ListDesktopPoolVolumesRequest.SortBy sortBy)
A field to sort by.- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDesktopPoolVolumesRequest.Builder sortOrder(ListDesktopPoolVolumesRequest.SortOrder sortOrder)
A field to indicate the sort order.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDesktopPoolVolumesRequest.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
page
public ListDesktopPoolVolumesRequest.Builder page(String page)
For list pagination.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDesktopPoolVolumesRequest.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 ListDesktopPoolVolumesRequest.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 ListDesktopPoolVolumesRequest.Builder copy(ListDesktopPoolVolumesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDesktopPoolVolumesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDesktopPoolVolumesRequest build()
Build the instance of ListDesktopPoolVolumesRequest 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<ListDesktopPoolVolumesRequest,Void>
- Returns:
- instance of ListDesktopPoolVolumesRequest
-
buildWithoutInvocationCallback
public ListDesktopPoolVolumesRequest buildWithoutInvocationCallback()
Build the instance of ListDesktopPoolVolumesRequest 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 ListDesktopPoolVolumesRequest
-
-