Package com.oracle.bmc.database.requests
Class ListBackupsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.database.requests.ListBackupsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListBackupsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/database/ListBackupsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListBackupsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListBackupsRequest.Builder
static class
ListBackupsRequest.ShapeFamily
If provided, filters the results to the set of database versions which are supported for the given shape family.
-
Constructor Summary
Constructors Constructor Description ListBackupsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListBackupsRequest.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
getBackupDestinationType()
A filter to return only resources that match the given backup destination type.String
getCompartmentId()
The compartment OCID.String
getDatabaseId()
The OCID of the database.BackupSummary.LifecycleState
getLifecycleState()
A filter to return only resources that match the given lifecycle state exactly.Integer
getLimit()
The maximum number of items to return per page.String
getPage()
The pagination token to continue listing from.ListBackupsRequest.ShapeFamily
getShapeFamily()
If provided, filters the results to the set of database versions which are supported for the given shape family.Date
getTimeExpiryScheduledGreaterThanOrEqualTo()
The start of date-time range of expiration for the long term backups to be fetched.Date
getTimeExpiryScheduledLessThan()
The end of date-time range of expiration for the long term backups to be fetched.String
getType()
A filter to return only backups that matches with the given type of Backup.String
getVersion()
A filter to return only resources that match the given database version.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListBackupsRequest.Builder
toBuilder()
Return an instance ofListBackupsRequest.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
-
getLimit
public Integer getLimit()
The maximum number of items to return per page.
-
getPage
public String getPage()
The pagination token to continue listing from.
-
getShapeFamily
public ListBackupsRequest.ShapeFamily getShapeFamily()
If provided, filters the results to the set of database versions which are supported for the given shape family.
-
getVersion
public String getVersion()
A filter to return only resources that match the given database version.
-
getType
public String getType()
A filter to return only backups that matches with the given type of Backup.
-
getLifecycleState
public BackupSummary.LifecycleState getLifecycleState()
A filter to return only resources that match the given lifecycle state exactly.
-
getTimeExpiryScheduledGreaterThanOrEqualTo
public Date getTimeExpiryScheduledGreaterThanOrEqualTo()
The start of date-time range of expiration for the long term backups to be fetched.
-
getTimeExpiryScheduledLessThan
public Date getTimeExpiryScheduledLessThan()
The end of date-time range of expiration for the long term backups to be fetched.
-
getBackupDestinationType
public String getBackupDestinationType()
A filter to return only resources that match the given backup destination type.
-
toBuilder
public ListBackupsRequest.Builder toBuilder()
Return an instance ofListBackupsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListBackupsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListBackupsRequest.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>
-
-