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.63.0/recovery/ListProtectedDatabasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProtectedDatabasesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListProtectedDatabasesRequest.Builder
static class
ListProtectedDatabasesRequest.SortBy
The field to sort by.
-
Constructor Summary
Constructors Constructor Description ListProtectedDatabasesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProtectedDatabasesRequest.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
getCompartmentId()
The compartment OCID.String
getDisplayName()
A filter to return only resources that match the entire ‘displayname’ given.String
getId()
The protected database OCID.LifecycleState
getLifecycleState()
A filter to return only the resources that match the specified lifecycle state.Integer
getLimit()
The maximum number of items to return per page.String
getOpcRequestId()
Unique identifier for the request.String
getPage()
The page token representing the page at which to start retrieving results.String
getProtectionPolicyId()
The protection policy OCID.String
getRecoveryServiceSubnetId()
The recovery service subnet OCID.ListProtectedDatabasesRequest.SortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListProtectedDatabasesRequest.Builder
toBuilder()
Return an instance ofListProtectedDatabasesRequest.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
-
getCompartmentId
public String getCompartmentId()
The compartment OCID.
-
getLifecycleState
public LifecycleState getLifecycleState()
A filter to return only the resources that match the specified lifecycle state.
-
getDisplayName
public String getDisplayName()
A filter to return only resources that match the entire ‘displayname’ given.
-
getId
public String getId()
The protected database OCID.
-
getProtectionPolicyId
public String getProtectionPolicyId()
The protection policy OCID.
-
getRecoveryServiceSubnetId
public String getRecoveryServiceSubnetId()
The recovery service subnet OCID.
-
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 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
-
getOpcRequestId
public String getOpcRequestId()
Unique identifier for the request.
-
toBuilder
public ListProtectedDatabasesRequest.Builder toBuilder()
Return an instance ofListProtectedDatabasesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListProtectedDatabasesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListProtectedDatabasesRequest.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>
-
-