public static class ListGrantsRequest.Builder extends Object implements BmcRequest.Builder<ListGrantsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListGrantsRequest |
build()
Build the instance of ListGrantsRequest as configured by this builder
|
ListGrantsRequest |
buildWithoutInvocationCallback()
Build the instance of ListGrantsRequest as configured by this builder
|
ListGrantsRequest.Builder |
copy(ListGrantsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListGrantsRequest.Builder |
depthLevel(Integer depthLevel)
A filter to return only items that match the specified user grant depth level.
|
ListGrantsRequest.Builder |
depthLevelGreaterThanOrEqualTo(Integer depthLevelGreaterThanOrEqualTo)
A filter to return only items that are at a level greater than or equal to the specified
user grant depth level.
|
ListGrantsRequest.Builder |
depthLevelLessThan(Integer depthLevelLessThan)
A filter to return only items that are at a level less than the specified user grant
depth level.
|
ListGrantsRequest.Builder |
grantKey(String grantKey)
A filter to return only items that match the specified user grant key.
|
ListGrantsRequest.Builder |
grantName(String grantName)
A filter to return only items that match the specified user grant name.
|
ListGrantsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListGrantsRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListGrantsRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListGrantsRequest.Builder |
page(String page)
For list pagination.
|
ListGrantsRequest.Builder |
privilegeCategory(String privilegeCategory)
A filter to return only items that match the specified user privilege category.
|
ListGrantsRequest.Builder |
privilegeType(String privilegeType)
A filter to return only items that match the specified privilege grant type.
|
ListGrantsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListGrantsRequest.Builder |
sortBy(ListGrantsRequest.SortBy sortBy)
The field to sort by.
|
ListGrantsRequest.Builder |
sortOrder(ListGrantsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).
|
ListGrantsRequest.Builder |
userAssessmentId(String userAssessmentId)
The OCID of the user assessment.
|
ListGrantsRequest.Builder |
userKey(String userKey)
The unique user key.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListGrantsRequest.Builder userAssessmentId(String userAssessmentId)
The OCID of the user assessment.
userAssessmentId
- the value to setpublic ListGrantsRequest.Builder userKey(String userKey)
The unique user key. This is a system-generated identifier. ListUsers gets the user key for a user.
userKey
- the value to setpublic ListGrantsRequest.Builder grantKey(String grantKey)
A filter to return only items that match the specified user grant key.
grantKey
- the value to setpublic ListGrantsRequest.Builder grantName(String grantName)
A filter to return only items that match the specified user grant name.
grantName
- the value to setpublic ListGrantsRequest.Builder privilegeType(String privilegeType)
A filter to return only items that match the specified privilege grant type.
privilegeType
- the value to setpublic ListGrantsRequest.Builder privilegeCategory(String privilegeCategory)
A filter to return only items that match the specified user privilege category.
privilegeCategory
- the value to setpublic ListGrantsRequest.Builder depthLevel(Integer depthLevel)
A filter to return only items that match the specified user grant depth level.
depthLevel
- the value to setpublic ListGrantsRequest.Builder depthLevelGreaterThanOrEqualTo(Integer depthLevelGreaterThanOrEqualTo)
A filter to return only items that are at a level greater than or equal to the specified user grant depth level.
depthLevelGreaterThanOrEqualTo
- the value to setpublic ListGrantsRequest.Builder depthLevelLessThan(Integer depthLevelLessThan)
A filter to return only items that are at a level less than the specified user grant depth level.
depthLevelLessThan
- the value to setpublic ListGrantsRequest.Builder limit(Integer limit)
For list pagination. The maximum number of items to return per page in a paginated “List” call. For details about how pagination works, see List Pagination.
limit
- the value to setpublic ListGrantsRequest.Builder page(String page)
For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous “List” call. For details about how pagination works, see List Pagination.
page
- the value to setpublic ListGrantsRequest.Builder sortOrder(ListGrantsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).
sortOrder
- the value to setpublic ListGrantsRequest.Builder sortBy(ListGrantsRequest.SortBy sortBy)
The field to sort by. You can specify only one sort order (sortOrder). The default order for grantName is ascending.
sortBy
- the value to setpublic ListGrantsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
opcRequestId
- the value to setpublic ListGrantsRequest.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 ListGrantsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListGrantsRequest.Builder copy(ListGrantsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListGrantsRequest,Void>
o
- other request from which to copy valuespublic ListGrantsRequest build()
Build the instance of ListGrantsRequest 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<ListGrantsRequest,Void>
public ListGrantsRequest buildWithoutInvocationCallback()
Build the instance of ListGrantsRequest 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.