Package com.oracle.bmc.datasafe.requests
Class ListGrantsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.datasafe.requests.ListGrantsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class ListGrantsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datasafe/ListGrantsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListGrantsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListGrantsRequest.Builderstatic classListGrantsRequest.SortByThe field to sort by.static classListGrantsRequest.SortOrderThe sort order to use, either ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListGrantsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListGrantsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.IntegergetDepthLevel()A filter to return only items that match the specified user grant depth level.IntegergetDepthLevelGreaterThanOrEqualTo()A filter to return only items that are at a level greater than or equal to the specified user grant depth level.IntegergetDepthLevelLessThan()A filter to return only items that are at a level less than the specified user grant depth level.StringgetGrantKey()A filter to return only items that match the specified user grant key.StringgetGrantName()A filter to return only items that match the specified user grant name.IntegergetLimit()For list pagination.StringgetOpcRequestId()Unique identifier for the request.StringgetPage()For list pagination.StringgetPrivilegeCategory()A filter to return only items that match the specified user privilege category.StringgetPrivilegeType()A filter to return only items that match the specified privilege grant type.ListGrantsRequest.SortBygetSortBy()The field to sort by.ListGrantsRequest.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).StringgetUserAssessmentId()The OCID of the user assessment.StringgetUserKey()The unique user key.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListGrantsRequest.BuildertoBuilder()Return an instance ofListGrantsRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getUserAssessmentId
public String getUserAssessmentId()
The OCID of the user assessment.
-
getUserKey
public String getUserKey()
The unique user key.This is a system-generated identifier. ListUsers gets the user key for a user.
-
getGrantKey
public String getGrantKey()
A filter to return only items that match the specified user grant key.
-
getGrantName
public String getGrantName()
A filter to return only items that match the specified user grant name.
-
getPrivilegeType
public String getPrivilegeType()
A filter to return only items that match the specified privilege grant type.
-
getPrivilegeCategory
public String getPrivilegeCategory()
A filter to return only items that match the specified user privilege category.
-
getDepthLevel
public Integer getDepthLevel()
A filter to return only items that match the specified user grant depth level.
-
getDepthLevelGreaterThanOrEqualTo
public Integer getDepthLevelGreaterThanOrEqualTo()
A filter to return only items that are at a level greater than or equal to the specified user grant depth level.
-
getDepthLevelLessThan
public Integer getDepthLevelLessThan()
A filter to return only items that are at a level less than the specified user grant depth level.
-
getLimit
public Integer getLimit()
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.
-
getPage
public String getPage()
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.
-
getSortOrder
public ListGrantsRequest.SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getSortBy
public ListGrantsRequest.SortBy getSortBy()
The field to sort by.You can specify only one sort order (sortOrder). The default order for grantName is ascending.
-
getOpcRequestId
public String getOpcRequestId()
Unique identifier for the request.
-
toBuilder
public ListGrantsRequest.Builder toBuilder()
Return an instance ofListGrantsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListGrantsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListGrantsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-