Class ListGrantsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.requests.ListGrantsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListGrantsRequest,Void>
 - Enclosing class:
- ListGrantsRequest
 
 public static class ListGrantsRequest.Builder extends Object implements BmcRequest.Builder<ListGrantsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListGrantsRequestbuild()Build the instance of ListGrantsRequest as configured by this builderListGrantsRequestbuildWithoutInvocationCallback()Build the instance of ListGrantsRequest as configured by this builderListGrantsRequest.Buildercopy(ListGrantsRequest o)Copy method to populate the builder with values from the given instance.ListGrantsRequest.BuilderdepthLevel(Integer depthLevel)A filter to return only items that match the specified user grant depth level.ListGrantsRequest.BuilderdepthLevelGreaterThanOrEqualTo(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.BuilderdepthLevelLessThan(Integer depthLevelLessThan)A filter to return only items that are at a level less than the specified user grant depth level.ListGrantsRequest.BuildergrantKey(String grantKey)A filter to return only items that match the specified user grant key.ListGrantsRequest.BuildergrantName(String grantName)A filter to return only items that match the specified user grant name.ListGrantsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListGrantsRequest.Builderlimit(Integer limit)For list pagination.ListGrantsRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListGrantsRequest.Builderpage(String page)For list pagination.ListGrantsRequest.BuilderprivilegeCategory(String privilegeCategory)A filter to return only items that match the specified user privilege category.ListGrantsRequest.BuilderprivilegeType(String privilegeType)A filter to return only items that match the specified privilege grant type.ListGrantsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListGrantsRequest.BuildersortBy(ListGrantsRequest.SortBy sortBy)The field to sort by.ListGrantsRequest.BuildersortOrder(ListGrantsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListGrantsRequest.BuilderuserAssessmentId(String userAssessmentId)The OCID of the user assessment.ListGrantsRequest.BuilderuserKey(String userKey)The unique user key.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
userAssessmentIdpublic ListGrantsRequest.Builder userAssessmentId(String userAssessmentId) The OCID of the user assessment.- Parameters:
- userAssessmentId- the value to set
- Returns:
- this builder instance
 
 - 
userKeypublic ListGrantsRequest.Builder userKey(String userKey) The unique user key.This is a system-generated identifier. ListUsers gets the user key for a user. - Parameters:
- userKey- the value to set
- Returns:
- this builder instance
 
 - 
grantKeypublic ListGrantsRequest.Builder grantKey(String grantKey) A filter to return only items that match the specified user grant key.- Parameters:
- grantKey- the value to set
- Returns:
- this builder instance
 
 - 
grantNamepublic ListGrantsRequest.Builder grantName(String grantName) A filter to return only items that match the specified user grant name.- Parameters:
- grantName- the value to set
- Returns:
- this builder instance
 
 - 
privilegeTypepublic ListGrantsRequest.Builder privilegeType(String privilegeType) A filter to return only items that match the specified privilege grant type.- Parameters:
- privilegeType- the value to set
- Returns:
- this builder instance
 
 - 
privilegeCategorypublic ListGrantsRequest.Builder privilegeCategory(String privilegeCategory) A filter to return only items that match the specified user privilege category.- Parameters:
- privilegeCategory- the value to set
- Returns:
- this builder instance
 
 - 
depthLevelpublic ListGrantsRequest.Builder depthLevel(Integer depthLevel) A filter to return only items that match the specified user grant depth level.- Parameters:
- depthLevel- the value to set
- Returns:
- this builder instance
 
 - 
depthLevelGreaterThanOrEqualTopublic 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.- Parameters:
- depthLevelGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
depthLevelLessThanpublic ListGrantsRequest.Builder depthLevelLessThan(Integer depthLevelLessThan) A filter to return only items that are at a level less than the specified user grant depth level.- Parameters:
- depthLevelLessThan- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic 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. - Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic 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. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListGrantsRequest.Builder sortOrder(ListGrantsRequest.SortOrder sortOrder) The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic 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. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListGrantsRequest.Builder opcRequestId(String opcRequestId) Unique identifier for the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListGrantsRequest.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
 
 - 
retryConfigurationpublic ListGrantsRequest.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
 
 - 
copypublic ListGrantsRequest.Builder copy(ListGrantsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListGrantsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListGrantsRequest build() Build the instance of ListGrantsRequest 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:
- buildin interface- BmcRequest.Builder<ListGrantsRequest,Void>
- Returns:
- instance of ListGrantsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListGrantsRequest buildWithoutInvocationCallback() Build the instance of ListGrantsRequest 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 ListGrantsRequest
 
 
- 
 
-