Package com.oracle.bmc.database.requests
Class ListDatabaseSnapshotsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.database.requests.ListDatabaseSnapshotsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListDatabaseSnapshotsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.99.0/database/ListDatabaseSnapshotsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDatabaseSnapshotsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListDatabaseSnapshotsRequest.Builderstatic classListDatabaseSnapshotsRequest.SortByThe field to sort by.static classListDatabaseSnapshotsRequest.SortOrderThe sort order to use, either ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListDatabaseSnapshotsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListDatabaseSnapshotsRequest.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’.StringgetClusterId()A filter to return only Exadata Database Snapshots that match the given VM cluster.StringgetCompartmentId()The compartment OCID.StringgetDatabaseId()A filter to return only Exadata Database Snapshots that match the given Database Id.DatabaseSnapshot.LifecycleStategetLifecycleState()A filter to return only Exadata Database Snapshots that match the given lifecycle state exactly.IntegergetLimit()The maximum number of items to return per page.StringgetName()A filter to return only resources that match the entire name given.StringgetOpcRequestId()Unique identifier for the request.StringgetPage()The pagination token to continue listing from.ListDatabaseSnapshotsRequest.SortBygetSortBy()The field to sort by.ListDatabaseSnapshotsRequest.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListDatabaseSnapshotsRequest.BuildertoBuilder()Return an instance ofListDatabaseSnapshotsRequest.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
-
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 ListDatabaseSnapshotsRequest.SortBy getSortBy()
The field to sort by.You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for NAME is ascending. The NAME sort order is case sensitive.
-
getName
public String getName()
A filter to return only resources that match the entire name given.The match is not case sensitive.
-
getSortOrder
public ListDatabaseSnapshotsRequest.SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getLifecycleState
public DatabaseSnapshot.LifecycleState getLifecycleState()
A filter to return only Exadata Database Snapshots that match the given lifecycle state exactly.
-
getDatabaseId
public String getDatabaseId()
A filter to return only Exadata Database Snapshots that match the given Database Id.
-
getClusterId
public String getClusterId()
A filter to return only Exadata Database Snapshots that match the given VM cluster.
-
getOpcRequestId
public String getOpcRequestId()
Unique identifier for the request.
-
toBuilder
public ListDatabaseSnapshotsRequest.Builder toBuilder()
Return an instance ofListDatabaseSnapshotsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListDatabaseSnapshotsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListDatabaseSnapshotsRequest.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>
-
-