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/latest/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 classListTopUtilizedResourcesRequest.Builderstatic classListTopUtilizedResourcesRequest.SortBySpecifies the attribute with which to sort the rules.static classListTopUtilizedResourcesRequest.SortOrderThe 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.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 compartment OCID used for the license record, product license, and configuration.BooleangetIsCompartmentIdInSubtree()Indicates if the given compartment is the root compartment.IntegergetLimit()The maximum number of items to return.StringgetOpcRequestId()The unique Oracle-assigned identifier for the request.StringgetPage()A token representing the position at which to start retrieving results.ResourceUnitgetResourceUnitType()A filter to return only resources whose unit matches the given resource unit.ListTopUtilizedResourcesRequest.SortBygetSortBy()Specifies the attribute with which to sort the rules.ListTopUtilizedResourcesRequest.SortOrdergetSortOrder()The sort order to use, whether ASC or DESC.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListTopUtilizedResourcesRequest.BuildertoBuilder()Return an instance ofListTopUtilizedResourcesRequest.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 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.Builderthat allows you to modify request properties.- Returns:
- instance of
ListTopUtilizedResourcesRequest.Builderthat 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: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>
-
-