Class ListOccHandoverResourceBlocksRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.capacitymanagement.requests.ListOccHandoverResourceBlocksRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public class ListOccHandoverResourceBlocksRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccHandoverResourceBlocksExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccHandoverResourceBlocksRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListOccHandoverResourceBlocksRequest.Builder
static class
ListOccHandoverResourceBlocksRequest.SortBy
The field to sort by.
-
Constructor Summary
Constructors Constructor Description ListOccHandoverResourceBlocksRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListOccHandoverResourceBlocksRequest.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 OCID of the compartment or tenancy in which resources are to be listed.Date
getHandoverDateGreaterThanOrEqualTo()
This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate.Date
getHandoverDateLessThanOrEqualTo()
This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate.String
getHandoverResourceName()
A filter to return only the list of resources that match the name provided in this filter.Integer
getLimit()
The maximum number of items to return.Namespace
getNamespace()
The namespace by which we would filter the list.String
getOccHandoverResourceBlockId()
This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
A token representing the position at which to start retrieving results.ListOccHandoverResourceBlocksRequest.SortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListOccHandoverResourceBlocksRequest.Builder
toBuilder()
Return an instance ofListOccHandoverResourceBlocksRequest.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
-
getNamespace
public Namespace getNamespace()
The namespace by which we would filter the list.
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment or tenancy in which resources are to be listed.
-
getHandoverResourceName
public String getHandoverResourceName()
A filter to return only the list of resources that match the name provided in this filter.
-
getHandoverDateGreaterThanOrEqualTo
public Date getHandoverDateGreaterThanOrEqualTo()
This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate.
-
getHandoverDateLessThanOrEqualTo
public Date getHandoverDateLessThanOrEqualTo()
This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate.
-
getOccHandoverResourceBlockId
public String getOccHandoverResourceBlockId()
This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here.
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public String getPage()
A token representing the position at which to start retrieving results.This must come from opc-next-page header field of a previous response.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.
-
getSortBy
public ListOccHandoverResourceBlocksRequest.SortBy getSortBy()
The field to sort by.Only one sort order may be provided. The default order for handoverDate is chronological order(latest date item at the end).
-
toBuilder
public ListOccHandoverResourceBlocksRequest.Builder toBuilder()
Return an instance ofListOccHandoverResourceBlocksRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListOccHandoverResourceBlocksRequest.Builder
that allows you to modify request properties.
-
builder
public static ListOccHandoverResourceBlocksRequest.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>
-
-