Package com.oracle.bmc.mysql.requests
Class ListReplicasRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.mysql.requests.ListReplicasRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public class ListReplicasRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/mysql/ListReplicasExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListReplicasRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListReplicasRequest.Builder
static class
ListReplicasRequest.SortBy
The field to sort by.static class
ListReplicasRequest.SortOrder
The sort order to use (ASC or DESC).
-
Constructor Summary
Constructors Constructor Description ListReplicasRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListReplicasRequest.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
getConfigurationId()
The requested Configuration instance.String
getDbSystemId()
The DB System OCID.String
getDisplayName()
A filter to return only the resource matching the given display name exactly.Boolean
getIsUpToDate()
Filter instances if they are using the latest revision of the Configuration they are associated with.ReplicaSummary.LifecycleState
getLifecycleState()
The LifecycleState of the read replica.Integer
getLimit()
The maximum number of items to return in a paginated list call.String
getOpcRequestId()
Customer-defined unique identifier for the request.String
getPage()
The value of the opc-next-page or opc-prev-page response header from the previous list call.String
getReplicaId()
The read replica OCID.ListReplicasRequest.SortBy
getSortBy()
The field to sort by.ListReplicasRequest.SortOrder
getSortOrder()
The sort order to use (ASC or DESC).int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListReplicasRequest.Builder
toBuilder()
Return an instance ofListReplicasRequest.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
-
getOpcRequestId
public String getOpcRequestId()
Customer-defined unique identifier for the request.If you need to contact Oracle about a specific request, please provide the request ID that you supplied in this header with the request.
-
getLimit
public Integer getLimit()
The maximum number of items to return in a paginated list call.For information about pagination, see List Pagination.
-
getPage
public String getPage()
The value of the opc-next-page or opc-prev-page response header from the previous list call.For information about pagination, see List Pagination.
-
getDisplayName
public String getDisplayName()
A filter to return only the resource matching the given display name exactly.
-
getLifecycleState
public ReplicaSummary.LifecycleState getLifecycleState()
The LifecycleState of the read replica.
-
getConfigurationId
public String getConfigurationId()
The requested Configuration instance.
-
getIsUpToDate
public Boolean getIsUpToDate()
Filter instances if they are using the latest revision of the Configuration they are associated with.
-
getSortBy
public ListReplicasRequest.SortBy getSortBy()
The field to sort by.You can sort by one field only. By default, the Time field is sorted in descending order and the Display Name field in ascending order.
-
getSortOrder
public ListReplicasRequest.SortOrder getSortOrder()
The sort order to use (ASC or DESC).
-
toBuilder
public ListReplicasRequest.Builder toBuilder()
Return an instance ofListReplicasRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListReplicasRequest.Builder
that allows you to modify request properties.
-
builder
public static ListReplicasRequest.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>
-
-