Class ListQuotaRulesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.requests.ListQuotaRulesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListQuotaRulesRequest,Void>
- Enclosing class:
- ListQuotaRulesRequest
public static class ListQuotaRulesRequest.Builder extends Object implements BmcRequest.Builder<ListQuotaRulesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListQuotaRulesRequest.Builder
areViolatorsOnly(Boolean areViolatorsOnly)
An option to display only the users or groups that violate their quota rules.ListQuotaRulesRequest
build()
Build the instance of ListQuotaRulesRequest as configured by this builderListQuotaRulesRequest
buildWithoutInvocationCallback()
Build the instance of ListQuotaRulesRequest as configured by this builderListQuotaRulesRequest.Builder
copy(ListQuotaRulesRequest o)
Copy method to populate the builder with values from the given instance.ListQuotaRulesRequest.Builder
fileSystemId(String fileSystemId)
The OCID of the file system.ListQuotaRulesRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.ListQuotaRulesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListQuotaRulesRequest.Builder
limit(Integer limit)
For list pagination.ListQuotaRulesRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListQuotaRulesRequest.Builder
page(String page)
For list pagination.ListQuotaRulesRequest.Builder
principalId(Integer principalId)
An identifier for the user or the group associated with quota rule and usage.ListQuotaRulesRequest.Builder
principalType(ListQuotaRulesRequest.PrincipalType principalType)
The type of the owner of this quota rule and usage.ListQuotaRulesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListQuotaRulesRequest.Builder
sortOrder(ListQuotaRulesRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’, where ‘asc’ is ascending and ‘desc’ is 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
-
fileSystemId
public ListQuotaRulesRequest.Builder fileSystemId(String fileSystemId)
The OCID of the file system.- Parameters:
fileSystemId
- the value to set- Returns:
- this builder instance
-
principalType
public ListQuotaRulesRequest.Builder principalType(ListQuotaRulesRequest.PrincipalType principalType)
The type of the owner of this quota rule and usage.- Parameters:
principalType
- the value to set- Returns:
- this builder instance
-
limit
public ListQuotaRulesRequest.Builder limit(Integer limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. 1 is the minimum, 4096 is the maximum.
For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Example: 500
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListQuotaRulesRequest.Builder page(String page)
For list pagination.The value of the opc-next-page response header from the previous “List” call.
For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
principalId
public ListQuotaRulesRequest.Builder principalId(Integer principalId)
An identifier for the user or the group associated with quota rule and usage.UNIX-like operating systems use this integer value to identify a user or group to manage access control.
- Parameters:
principalId
- the value to set- Returns:
- this builder instance
-
areViolatorsOnly
public ListQuotaRulesRequest.Builder areViolatorsOnly(Boolean areViolatorsOnly)
An option to display only the users or groups that violate their quota rules.If areViolatorsOnly is false, results report all the quota and usage. If areViolatorsOnly is true, results only report the quota and usage for the users or groups that violate their quota rules.
- Parameters:
areViolatorsOnly
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListQuotaRulesRequest.Builder sortOrder(ListQuotaRulesRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’, where ‘asc’ is ascending and ‘desc’ is descending.The default order is ‘desc’ except for numeric values.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
ifMatch
public ListQuotaRulesRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListQuotaRulesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListQuotaRulesRequest.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 ListQuotaRulesRequest.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 ListQuotaRulesRequest.Builder copy(ListQuotaRulesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListQuotaRulesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListQuotaRulesRequest build()
Build the instance of ListQuotaRulesRequest 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:
build
in interfaceBmcRequest.Builder<ListQuotaRulesRequest,Void>
- Returns:
- instance of ListQuotaRulesRequest
-
buildWithoutInvocationCallback
public ListQuotaRulesRequest buildWithoutInvocationCallback()
Build the instance of ListQuotaRulesRequest 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 ListQuotaRulesRequest
-
-