Package com.oracle.bmc.recovery.requests
Class ListProtectedDatabasesRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.recovery.requests.ListProtectedDatabasesRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public class ListProtectedDatabasesRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ListProtectedDatabasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProtectedDatabasesRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classListProtectedDatabasesRequest.Builderstatic classListProtectedDatabasesRequest.SortByThe field to sort by.
 - 
Constructor SummaryConstructors Constructor Description ListProtectedDatabasesRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProtectedDatabasesRequest.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.StringgetDisplayName()A filter to return only resources that match the entire ‘displayname’ given.StringgetId()The protected database OCID.LifecycleStategetLifecycleState()A filter to return only the resources that match the specified lifecycle state.IntegergetLimit()The maximum number of items to return per page.StringgetOpcRequestId()Unique identifier for the request.StringgetPage()The page token representing the page at which to start retrieving results.StringgetProtectionPolicyId()The protection policy OCID.StringgetRecoveryServiceSubnetId()The recovery service subnet OCID.ListProtectedDatabasesRequest.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListProtectedDatabasesRequest.BuildertoBuilder()Return an instance ofListProtectedDatabasesRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getCompartmentIdpublic String getCompartmentId() The compartment OCID.
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() A filter to return only the resources that match the specified lifecycle state.
 - 
getDisplayNamepublic String getDisplayName() A filter to return only resources that match the entire ‘displayname’ given.
 - 
getIdpublic String getId() The protected database OCID.
 - 
getProtectionPolicyIdpublic String getProtectionPolicyId() The protection policy OCID.
 - 
getRecoveryServiceSubnetIdpublic String getRecoveryServiceSubnetId() The recovery service subnet OCID.
 - 
getLimitpublic Integer getLimit() The maximum number of items to return per page.
 - 
getPagepublic String getPage() The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call. 
 - 
getSortOrderpublic SortOrder getSortOrder() The sort order to use, either ascending (ASC) or descending (DESC).Allowed values are: - ASC - DESC
 
 - 
getSortBypublic ListProtectedDatabasesRequest.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 
 - 
getOpcRequestIdpublic String getOpcRequestId() Unique identifier for the request.
 - 
toBuilderpublic ListProtectedDatabasesRequest.Builder toBuilder() Return an instance ofListProtectedDatabasesRequest.Builderthat allows you to modify request properties.- Returns:
- instance of ListProtectedDatabasesRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static ListProtectedDatabasesRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<Void>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<Void>
 
 
- 
 
-