Class ListJreUsageRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210610")
    public class ListJreUsageRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/jms/ListJreUsageExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJreUsageRequest.

    • Constructor Detail

      • ListJreUsageRequest

        public ListJreUsageRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment in which to list resources.
      • getHostId

        public String getHostId()
        The host OCID of the managed instance.
      • getApplicationId

        public String getApplicationId()
        The Fleet-unique identifier of the application.
      • getApplicationName

        public String getApplicationName()
        The name of the application.
      • getTimeStart

        public Date getTimeStart()
        The start of the time period during which resources are searched (formatted according to RFC3339).
      • getTimeEnd

        public Date getTimeEnd()
        The end of the time period during which resources are searched (formatted according to RFC3339).
      • getLimit

        public Integer getLimit()
        The maximum number of items to return.
      • getPage

        public String getPage()
        The page token representing the page at which to start retrieving results.

        The token is usually retrieved from a previous list call.

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order, either ‘asc’ or ‘desc’.
      • getSortBy

        public JreSortBy getSortBy()
        The field to sort JRE usages.

        Only one sort order may be provided. Default order for timeFirstSeen, timeLastSeen, and version is descending. Default order for timeFirstSeen, timeLastSeen, version, approximateInstallationCount, approximateApplicationCount and approximateManagedInstanceCount is descending. Default order for distribution, vendor, and osName is ascending. If no value is specified timeLastSeen is default.

      • getOpcRequestId

        public String getOpcRequestId()
        The client request ID for tracing.
      • builder

        public static ListJreUsageRequest.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 class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>