Package com.oracle.bmc.desktops.requests
Class ListDesktopsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.desktops.requests.ListDesktopsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListDesktopsRequest,Void>
 - Enclosing class:
- ListDesktopsRequest
 
 public static class ListDesktopsRequest.Builder extends Object implements BmcRequest.Builder<ListDesktopsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDesktopsRequest.BuilderavailabilityDomain(String availabilityDomain)The name of the availability domain.ListDesktopsRequestbuild()Build the instance of ListDesktopsRequest as configured by this builderListDesktopsRequestbuildWithoutInvocationCallback()Build the instance of ListDesktopsRequest as configured by this builderListDesktopsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment of the desktop pool.ListDesktopsRequest.Buildercopy(ListDesktopsRequest o)Copy method to populate the builder with values from the given instance.ListDesktopsRequest.BuilderdesktopPoolId(String desktopPoolId)The OCID of the desktop pool.ListDesktopsRequest.BuilderdisplayName(String displayName)A filter to return only results with the given displayName.ListDesktopsRequest.Builderid(String id)A filter to return only results with the given OCID.ListDesktopsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDesktopsRequest.BuilderlifecycleState(String lifecycleState)A filter to return only results with the given lifecycleState.ListDesktopsRequest.Builderlimit(Integer limit)The maximum number of results to return.ListDesktopsRequest.BuilderopcRequestId(String opcRequestId)The unique identifier of the request.ListDesktopsRequest.Builderpage(String page)For list pagination.ListDesktopsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDesktopsRequest.BuildersortBy(ListDesktopsRequest.SortBy sortBy)A field to sort by.ListDesktopsRequest.BuildersortOrder(ListDesktopsRequest.SortOrder sortOrder)A field to indicate the sort order.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ListDesktopsRequest.Builder compartmentId(String compartmentId) The OCID of the compartment of the desktop pool.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
availabilityDomainpublic ListDesktopsRequest.Builder availabilityDomain(String availabilityDomain) The name of the availability domain.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListDesktopsRequest.Builder displayName(String displayName) A filter to return only results with the given displayName.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
idpublic ListDesktopsRequest.Builder id(String id) A filter to return only results with the given OCID.- Parameters:
- id- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListDesktopsRequest.Builder lifecycleState(String lifecycleState) A filter to return only results with the given lifecycleState.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListDesktopsRequest.Builder limit(Integer limit) The maximum number of results to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListDesktopsRequest.Builder sortBy(ListDesktopsRequest.SortBy sortBy) A field to sort by.- Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListDesktopsRequest.Builder sortOrder(ListDesktopsRequest.SortOrder sortOrder) A field to indicate the sort order.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListDesktopsRequest.Builder opcRequestId(String opcRequestId) The unique identifier of the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListDesktopsRequest.Builder page(String page) For list pagination.- Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
desktopPoolIdpublic ListDesktopsRequest.Builder desktopPoolId(String desktopPoolId) The OCID of the desktop pool.- Parameters:
- desktopPoolId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListDesktopsRequest.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
 
 - 
retryConfigurationpublic ListDesktopsRequest.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
 
 - 
copypublic ListDesktopsRequest.Builder copy(ListDesktopsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListDesktopsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListDesktopsRequest build() Build the instance of ListDesktopsRequest 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 interface- BmcRequest.Builder<ListDesktopsRequest,Void>
- Returns:
- instance of ListDesktopsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListDesktopsRequest buildWithoutInvocationCallback() Build the instance of ListDesktopsRequest 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 ListDesktopsRequest
 
 
- 
 
-