public static class ListProductsRequest.Builder extends Object implements BmcRequest.Builder<ListProductsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListProductsRequest |
build()
Build the instance of ListProductsRequest as configured by this builder
|
ListProductsRequest |
buildWithoutInvocationCallback()
Build the instance of ListProductsRequest as configured by this builder
|
ListProductsRequest.Builder |
copy(ListProductsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListProductsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListProductsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in the paginated response.
|
ListProductsRequest.Builder |
opcRequestId(String opcRequestId)
Unique, Oracle-assigned identifier for the request.
|
ListProductsRequest.Builder |
page(String page)
The value of the ‘opc-next-page’ response header from the previous call.
|
ListProductsRequest.Builder |
producttype(ListProductsRequest.Producttype producttype)
The field to specify the type of product.
|
ListProductsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListProductsRequest.Builder |
sortBy(ListProductsRequest.SortBy sortBy)
The field to sort by.
|
ListProductsRequest.Builder |
sortOrder(ListProductsRequest.SortOrder sortOrder)
The sort order to use, which can be ascending (ASC) or descending (DESC).
|
ListProductsRequest.Builder |
subscriptionId(String subscriptionId)
The subscription ID for which rewards information is requested for.
|
ListProductsRequest.Builder |
tenancyId(String tenancyId)
The OCID of the tenancy.
|
ListProductsRequest.Builder |
usagePeriodKey(String usagePeriodKey)
The SPM Identifier for the usage period.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListProductsRequest.Builder tenancyId(String tenancyId)
The OCID of the tenancy.
tenancyId
- the value to setpublic ListProductsRequest.Builder subscriptionId(String subscriptionId)
The subscription ID for which rewards information is requested for.
subscriptionId
- the value to setpublic ListProductsRequest.Builder usagePeriodKey(String usagePeriodKey)
The SPM Identifier for the usage period.
usagePeriodKey
- the value to setpublic ListProductsRequest.Builder opcRequestId(String opcRequestId)
Unique, Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListProductsRequest.Builder page(String page)
The value of the ‘opc-next-page’ response header from the previous call.
page
- the value to setpublic ListProductsRequest.Builder limit(Integer limit)
The maximum number of items to return in the paginated response.
limit
- the value to setpublic ListProductsRequest.Builder sortOrder(ListProductsRequest.SortOrder sortOrder)
The sort order to use, which can be ascending (ASC) or descending (DESC).
sortOrder
- the value to setpublic ListProductsRequest.Builder sortBy(ListProductsRequest.SortBy sortBy)
The field to sort by. Supports one sort order.
sortBy
- the value to setpublic ListProductsRequest.Builder producttype(ListProductsRequest.Producttype producttype)
The field to specify the type of product.
producttype
- the value to setpublic ListProductsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListProductsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListProductsRequest.Builder copy(ListProductsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListProductsRequest,Void>
o
- other request from which to copy valuespublic ListProductsRequest build()
Build the instance of ListProductsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListProductsRequest,Void>
public ListProductsRequest buildWithoutInvocationCallback()
Build the instance of ListProductsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.