Class ListOccCapacityRequestsInternalRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.capacitymanagement.requests.ListOccCapacityRequestsInternalRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public class ListOccCapacityRequestsInternalRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/capacitymanagement/ListOccCapacityRequestsInternalExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccCapacityRequestsInternalRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListOccCapacityRequestsInternalRequest.Builderstatic classListOccCapacityRequestsInternalRequest.SortByThe field to sort by.
-
Constructor Summary
Constructors Constructor Description ListOccCapacityRequestsInternalRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListOccCapacityRequestsInternalRequest.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 ocid of the compartment or tenancy in which resources are to be listed.StringgetDisplayName()A filter to return only the resources that match the entire display name.StringgetId()A filter to return the list of capacity requests based on the OCID of the capacity request.IntegergetLimit()The maximum number of items to return.NamespacegetNamespace()The namespace by which we would filter the list.StringgetOccAvailabilityCatalogId()A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.StringgetOccCustomerGroupId()The customer group ocid by which we would filter the list.StringgetOpcRequestId()The client request ID for tracing.StringgetPage()A token representing the position at which to start retrieving results.OccCapacityRequest.RequestTypegetRequestType()A filter to return only the resources that match the request type.ListOccCapacityRequestsInternalRequest.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListOccCapacityRequestsInternalRequest.BuildertoBuilder()Return an instance ofListOccCapacityRequestsInternalRequest.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
-
getCompartmentId
public String getCompartmentId()
The ocid of the compartment or tenancy in which resources are to be listed.This will also be used for authorization purposes.
-
getOccCustomerGroupId
public String getOccCustomerGroupId()
The customer group ocid by which we would filter the list.
-
getOccAvailabilityCatalogId
public String getOccAvailabilityCatalogId()
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
-
getNamespace
public Namespace getNamespace()
The namespace by which we would filter the list.
-
getDisplayName
public String getDisplayName()
A filter to return only the resources that match the entire display name.The match is not case sensitive.
-
getRequestType
public OccCapacityRequest.RequestType getRequestType()
A filter to return only the resources that match the request type.The match is not case sensitive.
-
getId
public String getId()
A filter to return the list of capacity requests based on the OCID of the capacity request.This is done for the users who have INSPECT permission on the resource but do not have READ permission.
-
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 ListOccCapacityRequestsInternalRequest.SortBy getSortBy()
The field to sort by.Only one sort order may be provided. The default order for display name is ascending. The default order for time created is reverse chronological order(latest date at the top).
-
toBuilder
public ListOccCapacityRequestsInternalRequest.Builder toBuilder()
Return an instance ofListOccCapacityRequestsInternalRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListOccCapacityRequestsInternalRequest.Builderthat allows you to modify request properties.
-
builder
public static ListOccCapacityRequestsInternalRequest.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>
-
-