Class ListReplicationsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.filestorage.requests.ListReplicationsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public class ListReplicationsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/filestorage/ListReplicationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListReplicationsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListReplicationsRequest.Builder
static class
ListReplicationsRequest.LifecycleState
Filter results by the specified lifecycle state.static class
ListReplicationsRequest.SortBy
The field to sort by.static class
ListReplicationsRequest.SortOrder
The sort order to use, either ‘asc’ or ‘desc’, where ‘asc’ is ascending and ‘desc’ is descending.
-
Constructor Summary
Constructors Constructor Description ListReplicationsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListReplicationsRequest.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
getAvailabilityDomain()
The name of the availability domain.String
getCompartmentId()
The OCID of the compartment.String
getDisplayName()
A user-friendly name.String
getFileSystemId()
The OCID of the source file system.String
getId()
Filter results by OCID.ListReplicationsRequest.LifecycleState
getLifecycleState()
Filter results by the specified lifecycle state.Integer
getLimit()
For list pagination.String
getOpcRequestId()
Unique identifier for the request.String
getPage()
For list pagination.ListReplicationsRequest.SortBy
getSortBy()
The field to sort by.ListReplicationsRequest.SortOrder
getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’, where ‘asc’ is ascending and ‘desc’ is descending.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListReplicationsRequest.Builder
toBuilder()
Return an instance ofListReplicationsRequest.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
-
getAvailabilityDomain
public String getAvailabilityDomain()
The name of the availability domain.Example: Uocm:PHX-AD-1
-
getLimit
public Integer getLimit()
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. 1 is the minimum, 4096 is the maximum.
For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Example: 500
-
getPage
public String getPage()
For list pagination.The value of the opc-next-page response header from the previous “List” call.
For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
-
getLifecycleState
public ListReplicationsRequest.LifecycleState getLifecycleState()
Filter results by the specified lifecycle state.Must be a valid state for the resource type.
-
getDisplayName
public String getDisplayName()
A user-friendly name.It does not have to be unique, and it is changeable.
Example: My resource
-
getId
public String getId()
Filter results by OCID.Must be an OCID of the correct type for the resouce type.
-
getSortBy
public ListReplicationsRequest.SortBy getSortBy()
The field to sort by.You can choose either value, but not both. By default, when you sort by time created, results are shown in descending order. When you sort by display name, results are shown in ascending order.
-
getSortOrder
public ListReplicationsRequest.SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’, where ‘asc’ is ascending and ‘desc’ is descending.The default order is ‘desc’ except for numeric values.
-
getOpcRequestId
public String getOpcRequestId()
Unique identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
toBuilder
public ListReplicationsRequest.Builder toBuilder()
Return an instance ofListReplicationsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListReplicationsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListReplicationsRequest.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>
-
-