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/latest/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 classListReplicasRequest.Builderstatic classListReplicasRequest.SortByThe field to sort by.static classListReplicasRequest.SortOrderThe 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.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.StringgetConfigurationId()The requested Configuration instance.StringgetDbSystemId()The DB System OCID.StringgetDisplayName()A filter to return only the resource matching the given display name exactly.BooleangetIsUpToDate()Filter instances if they are using the latest revision of the Configuration they are associated with.ReplicaSummary.LifecycleStategetLifecycleState()The LifecycleState of the read replica.IntegergetLimit()The maximum number of items to return in a paginated list call.StringgetOpcRequestId()Customer-defined unique identifier for the request.StringgetPage()The value of the opc-next-page or opc-prev-page response header from the previous list call.StringgetReplicaId()The read replica OCID.ListReplicasRequest.SortBygetSortBy()The field to sort by.ListReplicasRequest.SortOrdergetSortOrder()The sort order to use (ASC or DESC).inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListReplicasRequest.BuildertoBuilder()Return an instance ofListReplicasRequest.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
-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
ListReplicasRequest.Builderthat 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: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>
-
-