Class ListUsageLedgersRequest


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

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

    • Constructor Detail

      • ListUsageLedgersRequest

        public ListUsageLedgersRequest()
    • Method Detail

      • getSubscriptionId

        public String getSubscriptionId()
        Subscription identifier.
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the root compartment.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return in a paginated “List” call.

        Default: (50)

        Example: '500'

      • getPage

        public String getPage()
        The value of the ‘opc-next-page’ response header from the previous “List” call.
      • getSortOrder

        public ListUsageLedgersRequest.SortOrder getSortOrder()
        The usage-ledger sort order to use, either ascending (‘ASC’) or descending (‘DESC’).
      • getTimeConsumptionGreaterThanOrEqualTo

        public Date getTimeConsumptionGreaterThanOrEqualTo()
        The lower bound of the consumption-date range, expressed in RFC 3339 timestamp format.

        The value is inclusive (>=).

      • getTimeConsumptionLessThan

        public Date getTimeConsumptionLessThan()
        The upper bound of the consumption-date range, expressed in RFC 3339 timestamp format.

        The value is exclusive (<).

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • 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>