Class ListImportedPackagesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.requests.ListImportedPackagesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListImportedPackagesRequest,Void>
- Enclosing class:
- ListImportedPackagesRequest
public static class ListImportedPackagesRequest.Builder extends Object implements BmcRequest.Builder<ListImportedPackagesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListImportedPackagesRequestbuild()Build the instance of ListImportedPackagesRequest as configured by this builderListImportedPackagesRequestbuildWithoutInvocationCallback()Build the instance of ListImportedPackagesRequest as configured by this builderListImportedPackagesRequest.Buildercopy(ListImportedPackagesRequest o)Copy method to populate the builder with values from the given instance.ListImportedPackagesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListImportedPackagesRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListImportedPackagesRequest.Buildername(String name)List only the information for the package with this name.ListImportedPackagesRequest.BuilderodaInstanceId(String odaInstanceId)Unique Digital Assistant instance identifier.ListImportedPackagesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListImportedPackagesRequest.Builderpage(String page)The page at which to start retrieving results.ListImportedPackagesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListImportedPackagesRequest.BuildersortBy(ListImportedPackagesRequest.SortBy sortBy)Sort on this field.ListImportedPackagesRequest.BuildersortOrder(ListImportedPackagesRequest.SortOrder sortOrder)Sort the results in this order, use either ASC (ascending) or DESC (descending).-
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
-
odaInstanceId
public ListImportedPackagesRequest.Builder odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.- Parameters:
odaInstanceId- the value to set- Returns:
- this builder instance
-
name
public ListImportedPackagesRequest.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
- Parameters:
name- the value to set- Returns:
- this builder instance
-
limit
public ListImportedPackagesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListImportedPackagesRequest.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==
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListImportedPackagesRequest.Builder sortOrder(ListImportedPackagesRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC (ascending) or DESC (descending).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListImportedPackagesRequest.Builder sortBy(ListImportedPackagesRequest.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.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListImportedPackagesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.This value is included in the opc-request-id response header.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListImportedPackagesRequest.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 ListImportedPackagesRequest.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 ListImportedPackagesRequest.Builder copy(ListImportedPackagesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListImportedPackagesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListImportedPackagesRequest build()
Build the instance of ListImportedPackagesRequest 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<ListImportedPackagesRequest,Void>- Returns:
- instance of ListImportedPackagesRequest
-
buildWithoutInvocationCallback
public ListImportedPackagesRequest buildWithoutInvocationCallback()
Build the instance of ListImportedPackagesRequest 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 ListImportedPackagesRequest
-
-