Class ListOccAvailabilitiesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.capacitymanagement.requests.ListOccAvailabilitiesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public class ListOccAvailabilitiesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccAvailabilitiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccAvailabilitiesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListOccAvailabilitiesRequest.Builder
static class
ListOccAvailabilitiesRequest.SortBy
The field to sort by.
-
Constructor Summary
Constructors Constructor Description ListOccAvailabilitiesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListOccAvailabilitiesRequest.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
getDateExpectedCapacityHandover()
The capacity handover date of the capacity constraint to filter the list of capacity constraints.Integer
getLimit()
The maximum number of items to return.String
getOccAvailabilityCatalogId()
The OCID of the availability catalog.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
A token representing the position at which to start retrieving results.String
getResourceName()
The name of the resource to filter the list of capacity constraints.String
getResourceType()
Resource type using which the capacity constraints of an availability catalog can be filtered.ListOccAvailabilitiesRequest.SortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.String
getWorkloadType()
Workload type using the resources in an availability catalog can be filtered.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListOccAvailabilitiesRequest.Builder
toBuilder()
Return an instance ofListOccAvailabilitiesRequest.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
-
getOccAvailabilityCatalogId
public String getOccAvailabilityCatalogId()
The OCID of the availability catalog.
-
getDateExpectedCapacityHandover
public String getDateExpectedCapacityHandover()
The capacity handover date of the capacity constraint to filter the list of capacity constraints.
-
getResourceName
public String getResourceName()
The name of the resource to filter the list of capacity constraints.
-
getResourceType
public String getResourceType()
Resource type using which the capacity constraints of an availability catalog can be filtered.
-
getWorkloadType
public String getWorkloadType()
Workload type using the resources in an availability catalog can be filtered.
-
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 ListOccAvailabilitiesRequest.SortBy getSortBy()
The field to sort by.Only one sort order may be provided. The default order for resource name is ascending. The default order for date of capacity handover is descending.
-
toBuilder
public ListOccAvailabilitiesRequest.Builder toBuilder()
Return an instance ofListOccAvailabilitiesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListOccAvailabilitiesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListOccAvailabilitiesRequest.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>
-
-