Class ListInvoicelineComputedUsagesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.onesubscription.requests.ListInvoicelineComputedUsagesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListInvoicelineComputedUsagesRequest,Void>
- Enclosing class:
- ListInvoicelineComputedUsagesRequest
public static class ListInvoicelineComputedUsagesRequest.Builder extends Object implements BmcRequest.Builder<ListInvoicelineComputedUsagesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInvoicelineComputedUsagesRequestbuild()Build the instance of ListInvoicelineComputedUsagesRequest as configured by this builderListInvoicelineComputedUsagesRequestbuildWithoutInvocationCallback()Build the instance of ListInvoicelineComputedUsagesRequest as configured by this builderListInvoicelineComputedUsagesRequest.BuildercompartmentId(String compartmentId)The OCID of the root compartment.ListInvoicelineComputedUsagesRequest.Buildercopy(ListInvoicelineComputedUsagesRequest o)Copy method to populate the builder with values from the given instance.ListInvoicelineComputedUsagesRequest.Builderfields(String singularValue)Singular setter.ListInvoicelineComputedUsagesRequest.Builderfields(List<String> fields)Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client.ListInvoicelineComputedUsagesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListInvoicelineComputedUsagesRequest.BuilderinvoiceLineId(String invoiceLineId)Invoice Line Identifier - Primary Key SPMListInvoicelineComputedUsagesRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListInvoicelineComputedUsagesRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListInvoicelineComputedUsagesRequest.Builderpage(String page)The value of the ‘opc-next-page’ response header from the previous “List” call.ListInvoicelineComputedUsagesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListInvoicelineComputedUsagesRequest.BuildersortBy(ListInvoicelineComputedUsagesRequest.SortBy sortBy)The field to sort by Invoiced Computed Usages.ListInvoicelineComputedUsagesRequest.BuildersortOrder(ListInvoicelineComputedUsagesRequest.SortOrder sortOrder)The sort order to use, either ascending (‘ASC’) or descending (‘DESC’).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public ListInvoicelineComputedUsagesRequest.Builder compartmentId(String compartmentId)
The OCID of the root compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
invoiceLineId
public ListInvoicelineComputedUsagesRequest.Builder invoiceLineId(String invoiceLineId)
Invoice Line Identifier - Primary Key SPM- Parameters:
invoiceLineId- the value to set- Returns:
- this builder instance
-
sortOrder
public ListInvoicelineComputedUsagesRequest.Builder sortOrder(ListInvoicelineComputedUsagesRequest.SortOrder sortOrder)
The sort order to use, either ascending (‘ASC’) or descending (‘DESC’).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListInvoicelineComputedUsagesRequest.Builder sortBy(ListInvoicelineComputedUsagesRequest.SortBy sortBy)
The field to sort by Invoiced Computed Usages.You can provide one sort order ( sortOrder).
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
limit
public ListInvoicelineComputedUsagesRequest.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
-
page
public ListInvoicelineComputedUsagesRequest.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
-
fields
public ListInvoicelineComputedUsagesRequest.Builder fields(List<String> fields)
Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client.This parameter is used to control what fields to return.
- Parameters:
fields- the value to set- Returns:
- this builder instance
-
fields
public ListInvoicelineComputedUsagesRequest.Builder fields(String singularValue)
Singular setter.Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client. This parameter is used to control what fields to return.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
opcRequestId
public ListInvoicelineComputedUsagesRequest.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
-
invocationCallback
public ListInvoicelineComputedUsagesRequest.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
-
retryConfiguration
public ListInvoicelineComputedUsagesRequest.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
-
copy
public ListInvoicelineComputedUsagesRequest.Builder copy(ListInvoicelineComputedUsagesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListInvoicelineComputedUsagesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListInvoicelineComputedUsagesRequest build()
Build the instance of ListInvoicelineComputedUsagesRequest 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 interfaceBmcRequest.Builder<ListInvoicelineComputedUsagesRequest,Void>- Returns:
- instance of ListInvoicelineComputedUsagesRequest
-
buildWithoutInvocationCallback
public ListInvoicelineComputedUsagesRequest buildWithoutInvocationCallback()
Build the instance of ListInvoicelineComputedUsagesRequest 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 ListInvoicelineComputedUsagesRequest
-
-