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/latest/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 classListBackupsRequest.Builderstatic classListBackupsRequest.ShapeFamilyIf 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.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’.StringgetBackupDestinationType()A filter to return only resources that match the given backup destination type.StringgetCompartmentId()The compartment OCID.StringgetDatabaseId()The OCID of the database.BackupSummary.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.ListBackupsRequest.ShapeFamilygetShapeFamily()If provided, filters the results to the set of database versions which are supported for the given shape family.DategetTimeExpiryScheduledGreaterThanOrEqualTo()The start of date-time range of expiration for the long term backups to be fetched.DategetTimeExpiryScheduledLessThan()The end of date-time range of expiration for the long term backups to be fetched.StringgetType()A filter to return only backups that matches with the given type of Backup.StringgetVersion()A filter to return only resources that match the given database version.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListBackupsRequest.BuildertoBuilder()Return an instance ofListBackupsRequest.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.
-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
ListBackupsRequest.Builderthat 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: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>
-
-