public static class ListResourcesRequest.Builder extends Object implements BmcRequest.Builder<ListResourcesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListResourcesRequest |
build()
Build the instance of ListResourcesRequest as configured by this builder
|
ListResourcesRequest |
buildWithoutInvocationCallback()
Build the instance of ListResourcesRequest as configured by this builder
|
ListResourcesRequest.Builder |
compartmentId(String compartmentId)
The OCID of the root compartment.
|
ListResourcesRequest.Builder |
copy(ListResourcesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListResourcesRequest.Builder |
entitlementId(String entitlementId)
Subscription or entitlement Id.
|
ListResourcesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListResourcesRequest.Builder |
limit(Integer limit)
The maximum number of items to return in the paginated response.
|
ListResourcesRequest.Builder |
opcRequestId(String opcRequestId)
Unique, Oracle-assigned identifier for the request.
|
ListResourcesRequest.Builder |
page(String page)
The value of the ‘opc-next-page’ response header from the previous call.
|
ListResourcesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListResourcesRequest.Builder |
serviceName(String serviceName)
Service Name.
|
ListResourcesRequest.Builder |
sortBy(ListResourcesRequest.SortBy sortBy)
The field to sort by.
|
ListResourcesRequest.Builder |
sortOrder(ListResourcesRequest.SortOrder sortOrder)
The sort order to use, which can be ascending (ASC) or descending (DESC).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListResourcesRequest.Builder serviceName(String serviceName)
Service Name.
serviceName
- the value to setpublic ListResourcesRequest.Builder compartmentId(String compartmentId)
The OCID of the root compartment.
compartmentId
- the value to setpublic ListResourcesRequest.Builder entitlementId(String entitlementId)
Subscription or entitlement Id.
entitlementId
- the value to setpublic ListResourcesRequest.Builder opcRequestId(String opcRequestId)
Unique, Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListResourcesRequest.Builder page(String page)
The value of the ‘opc-next-page’ response header from the previous call.
page
- the value to setpublic ListResourcesRequest.Builder limit(Integer limit)
The maximum number of items to return in the paginated response.
limit
- the value to setpublic ListResourcesRequest.Builder sortOrder(ListResourcesRequest.SortOrder sortOrder)
The sort order to use, which can be ascending (ASC) or descending (DESC).
sortOrder
- the value to setpublic ListResourcesRequest.Builder sortBy(ListResourcesRequest.SortBy sortBy)
The field to sort by. Supports one sort order.
sortBy
- the value to setpublic ListResourcesRequest.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 ListResourcesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListResourcesRequest.Builder copy(ListResourcesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListResourcesRequest,Void>
o
- other request from which to copy valuespublic ListResourcesRequest build()
Build the instance of ListResourcesRequest 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<ListResourcesRequest,Void>
public ListResourcesRequest buildWithoutInvocationCallback()
Build the instance of ListResourcesRequest 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.