Package com.oracle.bmc.datasafe.requests
Class ListRolesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.datasafe.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListRolesRequest.Builder
static class
ListRolesRequest.SortBy
The field used for sorting.static class
ListRolesRequest.SortOrder
The sort order to use, either ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListRolesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListRolesRequest.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’.String
getAuthenticationType()
A filter to return roles based on authentication type.Boolean
getIsOracleMaintained()
A filter to return roles based on whether they are maintained by oracle or not.Integer
getLimit()
For list pagination.String
getOpcRequestId()
Unique identifier for the request.String
getPage()
For list pagination.List<String>
getRoleName()
A filter to return only a specific role based on role name.String
getRoleNameContains()
A filter to return only items if role name contains a specific string.ListRolesRequest.SortBy
getSortBy()
The field used for sorting.ListRolesRequest.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).String
getTargetDatabaseId()
The OCID of the Data Safe target database.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListRolesRequest.Builder
toBuilder()
Return an instance ofListRolesRequest.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
-
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.
-
toBuilder
public ListRolesRequest.Builder toBuilder()
Return an instance ofListRolesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListRolesRequest.Builder
that allows you to modify request properties.
-
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 classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-