Package com.oracle.bmc.usage.requests
Class ListProductsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.usage.requests.ListProductsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public class ListProductsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/usage/ListProductsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProductsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListProductsRequest.Builder
static class
ListProductsRequest.Producttype
The field to specify the type of product.static class
ListProductsRequest.SortBy
The field to sort by.static class
ListProductsRequest.SortOrder
The sort order to use, which can be ascending (ASC) or descending (DESC).
-
Constructor Summary
Constructors Constructor Description ListProductsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProductsRequest.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’.Integer
getLimit()
The maximum number of items to return in the paginated response.String
getOpcRequestId()
Unique, Oracle-assigned identifier for the request.String
getPage()
The value of the ‘opc-next-page’ response header from the previous call.ListProductsRequest.Producttype
getProducttype()
The field to specify the type of product.ListProductsRequest.SortBy
getSortBy()
The field to sort by.ListProductsRequest.SortOrder
getSortOrder()
The sort order to use, which can be ascending (ASC) or descending (DESC).String
getSubscriptionId()
The subscription ID for which rewards information is requested for.String
getTenancyId()
The OCID of the tenancy.String
getUsagePeriodKey()
The SPM Identifier for the usage period.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListProductsRequest.Builder
toBuilder()
Return an instance ofListProductsRequest.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
-
getTenancyId
public String getTenancyId()
The OCID of the tenancy.
-
getSubscriptionId
public String getSubscriptionId()
The subscription ID for which rewards information is requested for.
-
getUsagePeriodKey
public String getUsagePeriodKey()
The SPM Identifier for the usage period.
-
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.
-
getPage
public String getPage()
The value of the ‘opc-next-page’ response header from the previous call.
-
getLimit
public Integer getLimit()
The maximum number of items to return in the paginated response.
-
getSortOrder
public ListProductsRequest.SortOrder getSortOrder()
The sort order to use, which can be ascending (ASC) or descending (DESC).
-
getSortBy
public ListProductsRequest.SortBy getSortBy()
The field to sort by.Supports one sort order.
-
getProducttype
public ListProductsRequest.Producttype getProducttype()
The field to specify the type of product.
-
toBuilder
public ListProductsRequest.Builder toBuilder()
Return an instance ofListProductsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListProductsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListProductsRequest.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>
-
-