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/3.63.0/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 class
ListGrantsRequest.Builder
static class
ListGrantsRequest.SortBy
The field to sort by.static class
ListGrantsRequest.SortOrder
The 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.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.Integer
getDepthLevel()
A filter to return only items that match the specified user grant depth level.Integer
getDepthLevelGreaterThanOrEqualTo()
A filter to return only items that are at a level greater than or equal to the specified user grant depth level.Integer
getDepthLevelLessThan()
A filter to return only items that are at a level less than the specified user grant depth level.String
getGrantKey()
A filter to return only items that match the specified user grant key.String
getGrantName()
A filter to return only items that match the specified user grant name.Integer
getLimit()
For list pagination.String
getOpcRequestId()
Unique identifier for the request.String
getPage()
For list pagination.String
getPrivilegeCategory()
A filter to return only items that match the specified user privilege category.String
getPrivilegeType()
A filter to return only items that match the specified privilege grant type.ListGrantsRequest.SortBy
getSortBy()
The field to sort by.ListGrantsRequest.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).String
getUserAssessmentId()
The OCID of the user assessment.String
getUserKey()
The unique user key.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListGrantsRequest.Builder
toBuilder()
Return an instance ofListGrantsRequest.Builder
that allows you to modify request properties.String
toString()
-
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.Builder
that allows you to modify request properties.- Returns:
- instance of
ListGrantsRequest.Builder
that 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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-