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