public static class ListDesktopPoolsRequest.Builder extends Object implements BmcRequest.Builder<ListDesktopPoolsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListDesktopPoolsRequest.Builder |
availabilityDomain(String availabilityDomain)
The name of the availability domain.
|
ListDesktopPoolsRequest |
build()
Build the instance of ListDesktopPoolsRequest as configured by this builder
|
ListDesktopPoolsRequest |
buildWithoutInvocationCallback()
Build the instance of ListDesktopPoolsRequest as configured by this builder
|
ListDesktopPoolsRequest.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListDesktopPoolsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment of the desktop pool.
compartmentId
- the value to setpublic ListDesktopPoolsRequest.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain.
availabilityDomain
- the value to setpublic ListDesktopPoolsRequest.Builder displayName(String displayName)
A filter to return only results with the given displayName.
displayName
- the value to setpublic ListDesktopPoolsRequest.Builder id(String id)
A filter to return only results with the given OCID.
id
- the value to setpublic ListDesktopPoolsRequest.Builder lifecycleState(String lifecycleState)
A filter to return only results with the given lifecycleState.
lifecycleState
- the value to setpublic ListDesktopPoolsRequest.Builder limit(Integer limit)
The maximum number of results to return.
limit
- the value to setpublic ListDesktopPoolsRequest.Builder sortBy(ListDesktopPoolsRequest.SortBy sortBy)
A field to sort by.
sortBy
- the value to setpublic ListDesktopPoolsRequest.Builder sortOrder(ListDesktopPoolsRequest.SortOrder sortOrder)
A field to indicate the sort order.
sortOrder
- the value to setpublic ListDesktopPoolsRequest.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.
opcRequestId
- the value to setpublic ListDesktopPoolsRequest.Builder page(String page)
For list pagination.
page
- the value to setpublic ListDesktopPoolsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListDesktopPoolsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListDesktopPoolsRequest.Builder copy(ListDesktopPoolsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListDesktopPoolsRequest,Void>
o
- other request from which to copy valuespublic ListDesktopPoolsRequest build()
Build the instance of ListDesktopPoolsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListDesktopPoolsRequest,Void>
public ListDesktopPoolsRequest buildWithoutInvocationCallback()
Build the instance of ListDesktopPoolsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.