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