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