Class ListTopUtilizedResourcesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.licensemanager.requests.ListTopUtilizedResourcesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220430") public class ListTopUtilizedResourcesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/licensemanager/ListTopUtilizedResourcesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListTopUtilizedResourcesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListTopUtilizedResourcesRequest.Builder
static class
ListTopUtilizedResourcesRequest.SortBy
Specifies the attribute with which to sort the rules.static class
ListTopUtilizedResourcesRequest.SortOrder
The sort order to use, whether ASC or DESC.
-
Constructor Summary
Constructors Constructor Description ListTopUtilizedResourcesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTopUtilizedResourcesRequest.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 compartment OCID used for the license record, product license, and configuration.Boolean
getIsCompartmentIdInSubtree()
Indicates if the given compartment is the root compartment.Integer
getLimit()
The maximum number of items to return.String
getOpcRequestId()
The unique Oracle-assigned identifier for the request.String
getPage()
A token representing the position at which to start retrieving results.ResourceUnit
getResourceUnitType()
A filter to return only resources whose unit matches the given resource unit.ListTopUtilizedResourcesRequest.SortBy
getSortBy()
Specifies the attribute with which to sort the rules.ListTopUtilizedResourcesRequest.SortOrder
getSortOrder()
The sort order to use, whether ASC or DESC.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListTopUtilizedResourcesRequest.Builder
toBuilder()
Return an instance ofListTopUtilizedResourcesRequest.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
-
getCompartmentId
public String getCompartmentId()
The compartment OCID used for the license record, product license, and configuration.
-
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 the opc-next-page header field of a previous response.
-
getOpcRequestId
public String getOpcRequestId()
The unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getIsCompartmentIdInSubtree
public Boolean getIsCompartmentIdInSubtree()
Indicates if the given compartment is the root compartment.
-
getResourceUnitType
public ResourceUnit getResourceUnitType()
A filter to return only resources whose unit matches the given resource unit.
-
getSortOrder
public ListTopUtilizedResourcesRequest.SortOrder getSortOrder()
The sort order to use, whether ASC or DESC.
-
getSortBy
public ListTopUtilizedResourcesRequest.SortBy getSortBy()
Specifies the attribute with which to sort the rules.Default: totalUnits
**totalUnits:** Sorts by totalUnits consumed by resource.
-
toBuilder
public ListTopUtilizedResourcesRequest.Builder toBuilder()
Return an instance ofListTopUtilizedResourcesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListTopUtilizedResourcesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListTopUtilizedResourcesRequest.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>
-
-