Class ListFilesystemSnapshotPoliciesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.filestorage.requests.ListFilesystemSnapshotPoliciesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public class ListFilesystemSnapshotPoliciesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/filestorage/ListFilesystemSnapshotPoliciesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListFilesystemSnapshotPoliciesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListFilesystemSnapshotPoliciesRequest.Builder
static class
ListFilesystemSnapshotPoliciesRequest.LifecycleState
Filter results by the specified lifecycle state.static class
ListFilesystemSnapshotPoliciesRequest.SortBy
The field to sort by.static class
ListFilesystemSnapshotPoliciesRequest.SortOrder
The sort order to use, either ‘asc’ or ‘desc’, where ‘asc’ is ascending and ‘desc’ is descending.
-
Constructor Summary
Constructors Constructor Description ListFilesystemSnapshotPoliciesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListFilesystemSnapshotPoliciesRequest.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
getId()
Filter results by OCID.ListFilesystemSnapshotPoliciesRequest.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.ListFilesystemSnapshotPoliciesRequest.SortBy
getSortBy()
The field to sort by.ListFilesystemSnapshotPoliciesRequest.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.ListFilesystemSnapshotPoliciesRequest.Builder
toBuilder()
Return an instance ofListFilesystemSnapshotPoliciesRequest.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).
-
getDisplayName
public String getDisplayName()
A user-friendly name.It does not have to be unique, and it is changeable.
Example: My resource
-
getLifecycleState
public ListFilesystemSnapshotPoliciesRequest.LifecycleState getLifecycleState()
Filter results by the specified lifecycle state.Must be a valid state for the resource type.
-
getId
public String getId()
Filter results by OCID.Must be an OCID of the correct type for the resouce type.
-
getSortBy
public ListFilesystemSnapshotPoliciesRequest.SortBy getSortBy()
The field to sort by.You can provide either value, but not both. By default, when you sort by time created, results are shown in descending order. When you sort by displayName, results are shown in ascending alphanumeric order.
-
getSortOrder
public ListFilesystemSnapshotPoliciesRequest.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 ListFilesystemSnapshotPoliciesRequest.Builder toBuilder()
Return an instance ofListFilesystemSnapshotPoliciesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListFilesystemSnapshotPoliciesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListFilesystemSnapshotPoliciesRequest.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>
-
-