Class ListUsageLedgersRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.onesubscription.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListUsageLedgersRequest.Builderstatic classListUsageLedgersRequest.SortByThe usage-ledger field to sort by.static classListUsageLedgersRequest.SortOrderThe usage-ledger sort order to use, either ascending (‘ASC’) or descending (‘DESC’).
-
Constructor Summary
Constructors Constructor Description ListUsageLedgersRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListUsageLedgersRequest.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 OCID of the root compartment.IntegergetLimit()The maximum number of items to return in a paginated “List” call.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetPage()The value of the ‘opc-next-page’ response header from the previous “List” call.ListUsageLedgersRequest.SortBygetSortBy()The usage-ledger field to sort by.ListUsageLedgersRequest.SortOrdergetSortOrder()The usage-ledger sort order to use, either ascending (‘ASC’) or descending (‘DESC’).StringgetSubscriptionId()Subscription identifier.DategetTimeConsumptionGreaterThanOrEqualTo()The lower bound of the consumption-date range, expressed in RFC 3339 timestamp format.DategetTimeConsumptionLessThan()The upper bound of the consumption-date range, expressed in RFC 3339 timestamp format.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListUsageLedgersRequest.BuildertoBuilder()Return an instance ofListUsageLedgersRequest.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
-
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’).
-
getSortBy
public ListUsageLedgersRequest.SortBy getSortBy()
The usage-ledger field to sort by.You can provide one sort order (‘sortOrder’).
-
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.
-
toBuilder
public ListUsageLedgersRequest.Builder toBuilder()
Return an instance ofListUsageLedgersRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListUsageLedgersRequest.Builderthat allows you to modify request properties.
-
builder
public static ListUsageLedgersRequest.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>
-
-