Package com.oracle.bmc.database.requests
Class ListDatabasesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.database.requests.ListDatabasesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListDatabasesRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/database/ListDatabasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDatabasesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListDatabasesRequest.Builderstatic classListDatabasesRequest.SortByThe field to sort by.static classListDatabasesRequest.SortOrderThe sort order to use, either ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListDatabasesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListDatabasesRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The compartment OCID.StringgetDbHomeId()A Database Home OCID.StringgetDbName()A filter to return only resources that match the entire database name given.DatabaseSummary.LifecycleStategetLifecycleState()A filter to return only resources that match the given lifecycle state exactly.IntegergetLimit()The maximum number of items to return per page.StringgetPage()The pagination token to continue listing from.ListDatabasesRequest.SortBygetSortBy()The field to sort by.ListDatabasesRequest.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).StringgetSystemId()The OCID of the Exadata DB system that you want to filter the database results by.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListDatabasesRequest.BuildertoBuilder()Return an instance ofListDatabasesRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getSystemId
public String getSystemId()
The OCID of the Exadata DB system that you want to filter the database results by.Applies only to Exadata DB systems.
-
getLimit
public Integer getLimit()
The maximum number of items to return per page.
-
getPage
public String getPage()
The pagination token to continue listing from.
-
getSortBy
public ListDatabasesRequest.SortBy getSortBy()
The field to sort by.You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DBNAME is ascending. The DBNAME sort order is case sensitive.
-
getSortOrder
public ListDatabasesRequest.SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getLifecycleState
public DatabaseSummary.LifecycleState getLifecycleState()
A filter to return only resources that match the given lifecycle state exactly.
-
getDbName
public String getDbName()
A filter to return only resources that match the entire database name given.The match is not case sensitive.
-
toBuilder
public ListDatabasesRequest.Builder toBuilder()
Return an instance ofListDatabasesRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListDatabasesRequest.Builderthat allows you to modify request properties.
-
builder
public static ListDatabasesRequest.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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-