Class ListRolesRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public class ListRolesRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/datasafe/ListRolesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRolesRequest.

    • Constructor Detail

      • ListRolesRequest

        public ListRolesRequest()
    • Method Detail

      • getTargetDatabaseId

        public String getTargetDatabaseId()
        The OCID of the Data Safe target database.
      • getOpcRequestId

        public String getOpcRequestId()
        Unique identifier for the request.
      • 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.

      • getRoleName

        public List<String> getRoleName()
        A filter to return only a specific role based on role name.
      • getIsOracleMaintained

        public Boolean getIsOracleMaintained()
        A filter to return roles based on whether they are maintained by oracle or not.
      • getAuthenticationType

        public String getAuthenticationType()
        A filter to return roles based on authentication type.
      • getSortOrder

        public ListRolesRequest.SortOrder getSortOrder()
        The sort order to use, either ascending (ASC) or descending (DESC).
      • getSortBy

        public ListRolesRequest.SortBy getSortBy()
        The field used for sorting.

        Only one sorting order (sortOrder) can be specified.

      • getRoleNameContains

        public String getRoleNameContains()
        A filter to return only items if role name contains a specific string.
      • builder

        public static ListRolesRequest.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>