Class ListLongTermBackupsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210216")
    public class ListLongTermBackupsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.95.0/recovery/ListLongTermBackupsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListLongTermBackupsRequest.

    • Constructor Detail

      • ListLongTermBackupsRequest

        public ListLongTermBackupsRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The compartment OCID.
      • getId

        public String getId()
        The long-term backup OCID.

        Use longTermBackupId to filter a long-term backup based on its unique identifier.

      • getDisplayName

        public String getDisplayName()
        A filter to return only resources that match the entire ‘displayname’ given.
      • getProtectedDatabaseId

        public String getProtectedDatabaseId()
        The protected database OCID.

        Use protectedDatabaseId to list the long-term backups of a specific protected database.

      • getLifecycleState

        public LifecycleState getLifecycleState()
        A filter to return only the resources that match the specified lifecycle state.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return per page.
      • getPage

        public String getPage()
        The page token representing the page at which to start retrieving results.

        This is usually retrieved from a previous list call.

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order to use, either ascending (ASC) or descending (DESC).

        Allowed values are: - ASC

        • DESC
      • getSortBy

        public ListLongTermBackupsRequest.SortBy getSortBy()
        The field to sort by.

        You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order. Allowed values are: - TIMECREATED - DISPLAYNAME

      • getOpcRequestId

        public String getOpcRequestId()
        Unique identifier for the request.
      • 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 class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>