Class ListSubscriptionsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.onesubscription.requests.ListSubscriptionsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListSubscriptionsRequest,Void>
 - Enclosing class:
- ListSubscriptionsRequest
 
 public static class ListSubscriptionsRequest.Builder extends Object implements BmcRequest.Builder<ListSubscriptionsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSubscriptionsRequestbuild()Build the instance of ListSubscriptionsRequest as configured by this builderListSubscriptionsRequestbuildWithoutInvocationCallback()Build the instance of ListSubscriptionsRequest as configured by this builderListSubscriptionsRequest.BuilderbuyerEmail(String buyerEmail)Buyer Email IdListSubscriptionsRequest.BuildercompartmentId(String compartmentId)The OCID of the root compartment.ListSubscriptionsRequest.Buildercopy(ListSubscriptionsRequest o)Copy method to populate the builder with values from the given instance.ListSubscriptionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListSubscriptionsRequest.BuilderisCommitInfoRequired(Boolean isCommitInfoRequired)Boolean value to decide whether commitment services will be shownListSubscriptionsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListSubscriptionsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListSubscriptionsRequest.Builderpage(String page)The value of the ‘opc-next-page’ response header from the previous “List” call.ListSubscriptionsRequest.BuilderplanNumber(String planNumber)The Plan NumberListSubscriptionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListSubscriptionsRequest.BuildersortBy(ListSubscriptionsRequest.SortBy sortBy)The field to sort by.ListSubscriptionsRequest.BuildersortOrder(ListSubscriptionsRequest.SortOrder sortOrder)The sort order to use, either ascending (‘ASC’) or descending (‘DESC’).ListSubscriptionsRequest.BuildersubscriptionId(String subscriptionId)Line level Subscription Id- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ListSubscriptionsRequest.Builder compartmentId(String compartmentId) The OCID of the root compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
planNumberpublic ListSubscriptionsRequest.Builder planNumber(String planNumber) The Plan Number- Parameters:
- planNumber- the value to set
- Returns:
- this builder instance
 
 - 
subscriptionIdpublic ListSubscriptionsRequest.Builder subscriptionId(String subscriptionId) Line level Subscription Id- Parameters:
- subscriptionId- the value to set
- Returns:
- this builder instance
 
 - 
buyerEmailpublic ListSubscriptionsRequest.Builder buyerEmail(String buyerEmail) Buyer Email Id- Parameters:
- buyerEmail- the value to set
- Returns:
- this builder instance
 
 - 
isCommitInfoRequiredpublic ListSubscriptionsRequest.Builder isCommitInfoRequired(Boolean isCommitInfoRequired) Boolean value to decide whether commitment services will be shown- Parameters:
- isCommitInfoRequired- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListSubscriptionsRequest.Builder limit(Integer limit) The maximum number of items to return in a paginated “List” call.Default: (50) Example: '500' - Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListSubscriptionsRequest.Builder page(String page) The value of the ‘opc-next-page’ response header from the previous “List” call.- Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListSubscriptionsRequest.Builder sortOrder(ListSubscriptionsRequest.SortOrder sortOrder) The sort order to use, either ascending (‘ASC’) or descending (‘DESC’).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListSubscriptionsRequest.Builder sortBy(ListSubscriptionsRequest.SortBy sortBy) The field to sort by.You can provide one sort order (‘sortOrder’). - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListSubscriptionsRequest.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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListSubscriptionsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic ListSubscriptionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic ListSubscriptionsRequest.Builder copy(ListSubscriptionsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListSubscriptionsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListSubscriptionsRequest build() Build the instance of ListSubscriptionsRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<ListSubscriptionsRequest,Void>
- Returns:
- instance of ListSubscriptionsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListSubscriptionsRequest buildWithoutInvocationCallback() Build the instance of ListSubscriptionsRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListSubscriptionsRequest
 
 
- 
 
-