Class ListProductLicensesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.licensemanager.requests.ListProductLicensesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220430") public class ListProductLicensesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/licensemanager/ListProductLicensesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProductLicensesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListProductLicensesRequest.Builder
static class
ListProductLicensesRequest.SortBy
Specifies the attribute with which to sort the rules.static class
ListProductLicensesRequest.SortOrder
The sort order to use, whether ASC or DESC.
-
Constructor Summary
Constructors Constructor Description ListProductLicensesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProductLicensesRequest.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.ListProductLicensesRequest.SortBy
getSortBy()
Specifies the attribute with which to sort the rules.ListProductLicensesRequest.SortOrder
getSortOrder()
The sort order to use, whether ASC or DESC.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListProductLicensesRequest.Builder
toBuilder()
Return an instance ofListProductLicensesRequest.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.
-
getSortOrder
public ListProductLicensesRequest.SortOrder getSortOrder()
The sort order to use, whether ASC or DESC.
-
getSortBy
public ListProductLicensesRequest.SortBy getSortBy()
Specifies the attribute with which to sort the rules.Default: totalLicenseUnitsConsumed
**totalLicenseUnitsConsumed:** Sorts by totalLicenseUnitsConsumed of ProductLicense.
-
toBuilder
public ListProductLicensesRequest.Builder toBuilder()
Return an instance ofListProductLicensesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListProductLicensesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListProductLicensesRequest.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>
-
-