public static class ListLimitDefinitionsRequest.Builder extends Object implements BmcRequest.Builder<ListLimitDefinitionsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListLimitDefinitionsRequest |
build()
Build the instance of ListLimitDefinitionsRequest as configured by this builder
|
ListLimitDefinitionsRequest |
buildWithoutInvocationCallback() |
ListLimitDefinitionsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
ListLimitDefinitionsRequest.Builder |
copy(ListLimitDefinitionsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListLimitDefinitionsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListLimitDefinitionsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListLimitDefinitionsRequest.Builder |
name(String name)
Optional field, filter for a specific resource limit.
|
ListLimitDefinitionsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListLimitDefinitionsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListLimitDefinitionsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListLimitDefinitionsRequest.Builder |
serviceName(String serviceName)
The target service name.
|
ListLimitDefinitionsRequest.Builder |
sortBy(ListLimitDefinitionsRequest.SortBy sortBy)
The field to sort by.
|
ListLimitDefinitionsRequest.Builder |
sortOrder(ListLimitDefinitionsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListLimitDefinitionsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListLimitDefinitionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListLimitDefinitionsRequest.Builder copy(ListLimitDefinitionsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListLimitDefinitionsRequest,Void>
o
- other request from which to copy valuespublic ListLimitDefinitionsRequest build()
Build the instance of ListLimitDefinitionsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListLimitDefinitionsRequest,Void>
public ListLimitDefinitionsRequest.Builder compartmentId(String compartmentId)
The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
this
.public ListLimitDefinitionsRequest.Builder serviceName(String serviceName)
The target service name.
this
.public ListLimitDefinitionsRequest.Builder name(String name)
Optional field, filter for a specific resource limit.
this
.public ListLimitDefinitionsRequest.Builder sortBy(ListLimitDefinitionsRequest.SortBy sortBy)
The field to sort by.
this
.public ListLimitDefinitionsRequest.Builder sortOrder(ListLimitDefinitionsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’. By default, it is ascending.
this
.public ListLimitDefinitionsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
this
.public ListLimitDefinitionsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
this
.public ListLimitDefinitionsRequest.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.
this
.public ListLimitDefinitionsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.