Class ListGrantsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • userAssessmentId

        public ListGrantsRequest.Builder userAssessmentId​(String userAssessmentId)
        The OCID of the user assessment.
        Parameters:
        userAssessmentId - the value to set
        Returns:
        this builder instance
      • userKey

        public 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
      • grantKey

        public 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
      • grantName

        public 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
      • privilegeType

        public 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
      • privilegeCategory

        public 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
      • depthLevel

        public 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
      • depthLevelGreaterThanOrEqualTo

        public 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
      • depthLevelLessThan

        public 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
      • limit

        public 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
      • page

        public 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
      • sortBy

        public 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
      • opcRequestId

        public ListGrantsRequest.Builder opcRequestId​(String opcRequestId)
        Unique identifier for the request.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public 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
      • retryConfiguration

        public 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