public static class ListPackagesRequest.Builder extends Object implements BmcRequest.Builder<ListPackagesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListPackagesRequest |
build()
Build the instance of ListPackagesRequest as configured by this builder
|
ListPackagesRequest |
buildWithoutInvocationCallback()
Build the instance of ListPackagesRequest as configured by this builder
|
ListPackagesRequest.Builder |
compartmentId(String compartmentId)
List the packages that belong to this compartment.
|
ListPackagesRequest.Builder |
copy(ListPackagesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListPackagesRequest.Builder |
displayName(String displayName)
List only the information for the Digital Assistant instance with this user-friendly
name.
|
ListPackagesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListPackagesRequest.Builder |
isLatestVersionOnly(Boolean isLatestVersionOnly)
Should we return only the latest version of a package (instead of all versions)?
|
ListPackagesRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListPackagesRequest.Builder |
name(String name)
List only the information for the package with this name.
|
ListPackagesRequest.Builder |
odaInstanceId(String odaInstanceId)
List only the information for this Digital Assistant instance.
|
ListPackagesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListPackagesRequest.Builder |
page(String page)
The page at which to start retrieving results.
|
ListPackagesRequest.Builder |
resourceType(String resourceType)
Resource type identifier.
|
ListPackagesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListPackagesRequest.Builder |
sortBy(ListPackagesRequest.SortBy sortBy)
Sort on this field.
|
ListPackagesRequest.Builder |
sortOrder(ListPackagesRequest.SortOrder sortOrder)
Sort the results in this order, use either
ASC (ascending) or DESC
(descending). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListPackagesRequest.Builder odaInstanceId(String odaInstanceId)
List only the information for this Digital Assistant instance.
odaInstanceId
- the value to setpublic ListPackagesRequest.Builder resourceType(String resourceType)
Resource type identifier. Used to limit query results to the items which are applicable to the given type.
resourceType
- the value to setpublic ListPackagesRequest.Builder compartmentId(String compartmentId)
List the packages that belong to this compartment.
compartmentId
- the value to setpublic ListPackagesRequest.Builder name(String name)
List only the information for the package with this name. Package names are unique to a publisher and may not change.
Example: My Package
name
- the value to setpublic ListPackagesRequest.Builder displayName(String displayName)
List only the information for the Digital Assistant instance with this user-friendly name. These names don’t have to be unique and may change.
Example: My new resource
displayName
- the value to setpublic ListPackagesRequest.Builder isLatestVersionOnly(Boolean isLatestVersionOnly)
Should we return only the latest version of a package (instead of all versions)?
isLatestVersionOnly
- the value to setpublic ListPackagesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListPackagesRequest.Builder page(String page)
The page at which to start retrieving results.
You get this value from the opc-next-page
header in a previous list request.
To retireve the first page, omit this query parameter.
Example: MToxMA==
page
- the value to setpublic ListPackagesRequest.Builder sortOrder(ListPackagesRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC
(ascending) or DESC
(descending).
sortOrder
- the value to setpublic ListPackagesRequest.Builder sortBy(ListPackagesRequest.SortBy sortBy)
Sort on this field. You can specify one sort order only. The default sort field is TIMECREATED
.
The default sort order for TIMECREATED
is descending, and the default sort
order for DISPLAYNAME
is ascending.
sortBy
- the value to setpublic ListPackagesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing. This value is included in the opc-request-id response header.
opcRequestId
- the value to setpublic ListPackagesRequest.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 ListPackagesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListPackagesRequest.Builder copy(ListPackagesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListPackagesRequest,Void>
o
- other request from which to copy valuespublic ListPackagesRequest build()
Build the instance of ListPackagesRequest 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<ListPackagesRequest,Void>
public ListPackagesRequest buildWithoutInvocationCallback()
Build the instance of ListPackagesRequest 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.