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