public static class ListRedemptionsRequest.Builder extends Object implements BmcRequest.Builder<ListRedemptionsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListRedemptionsRequest |
build()
Build the instance of ListRedemptionsRequest as configured by this builder
|
ListRedemptionsRequest |
buildWithoutInvocationCallback()
Build the instance of ListRedemptionsRequest as configured by this builder
|
ListRedemptionsRequest.Builder |
copy(ListRedemptionsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListRedemptionsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListRedemptionsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in the paginated response.
|
ListRedemptionsRequest.Builder |
opcRequestId(String opcRequestId)
Unique, Oracle-assigned identifier for the request.
|
ListRedemptionsRequest.Builder |
page(String page)
The value of the ‘opc-next-page’ response header from the previous call.
|
ListRedemptionsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListRedemptionsRequest.Builder |
sortBy(ListRedemptionsRequest.SortBy sortBy)
The field to be used only for list redemptions API.
|
ListRedemptionsRequest.Builder |
sortOrder(ListRedemptionsRequest.SortOrder sortOrder)
The sort order to use, which can be ascending (ASC) or descending (DESC).
|
ListRedemptionsRequest.Builder |
subscriptionId(String subscriptionId)
The subscription ID for which rewards information is requested for.
|
ListRedemptionsRequest.Builder |
tenancyId(String tenancyId)
The OCID of the tenancy.
|
ListRedemptionsRequest.Builder |
timeRedeemedGreaterThanOrEqualTo(Date timeRedeemedGreaterThanOrEqualTo)
The starting redeemed date filter for the redemption history.
|
ListRedemptionsRequest.Builder |
timeRedeemedLessThan(Date timeRedeemedLessThan)
The ending redeemed date filter for the redemption history.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListRedemptionsRequest.Builder tenancyId(String tenancyId)
The OCID of the tenancy.
tenancyId
- the value to setpublic ListRedemptionsRequest.Builder subscriptionId(String subscriptionId)
The subscription ID for which rewards information is requested for.
subscriptionId
- the value to setpublic ListRedemptionsRequest.Builder timeRedeemedGreaterThanOrEqualTo(Date timeRedeemedGreaterThanOrEqualTo)
The starting redeemed date filter for the redemption history.
timeRedeemedGreaterThanOrEqualTo
- the value to setpublic ListRedemptionsRequest.Builder timeRedeemedLessThan(Date timeRedeemedLessThan)
The ending redeemed date filter for the redemption history.
timeRedeemedLessThan
- the value to setpublic ListRedemptionsRequest.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 ListRedemptionsRequest.Builder page(String page)
The value of the ‘opc-next-page’ response header from the previous call.
page
- the value to setpublic ListRedemptionsRequest.Builder limit(Integer limit)
The maximum number of items to return in the paginated response.
limit
- the value to setpublic ListRedemptionsRequest.Builder sortOrder(ListRedemptionsRequest.SortOrder sortOrder)
The sort order to use, which can be ascending (ASC) or descending (DESC).
sortOrder
- the value to setpublic ListRedemptionsRequest.Builder sortBy(ListRedemptionsRequest.SortBy sortBy)
The field to be used only for list redemptions API. Supports one sort order.
sortBy
- the value to setpublic ListRedemptionsRequest.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 ListRedemptionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListRedemptionsRequest.Builder copy(ListRedemptionsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListRedemptionsRequest,Void>
o
- other request from which to copy valuespublic ListRedemptionsRequest build()
Build the instance of ListRedemptionsRequest 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<ListRedemptionsRequest,Void>
public ListRedemptionsRequest buildWithoutInvocationCallback()
Build the instance of ListRedemptionsRequest 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.