Class 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.

    • Constructor Detail

      • ListGrantsRequest

        public ListGrantsRequest()
    • 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.

      • 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.
      • 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 class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>