Class ListBillingSchedulesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.onesubscription.requests.ListBillingSchedulesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListBillingSchedulesRequest,Void>
- Enclosing class:
- ListBillingSchedulesRequest
public static class ListBillingSchedulesRequest.Builder extends Object implements BmcRequest.Builder<ListBillingSchedulesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBillingSchedulesRequestbuild()Build the instance of ListBillingSchedulesRequest as configured by this builderListBillingSchedulesRequestbuildWithoutInvocationCallback()Build the instance of ListBillingSchedulesRequest as configured by this builderListBillingSchedulesRequest.BuildercompartmentId(String compartmentId)The OCID of the root compartment.ListBillingSchedulesRequest.Buildercopy(ListBillingSchedulesRequest o)Copy method to populate the builder with values from the given instance.ListBillingSchedulesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListBillingSchedulesRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListBillingSchedulesRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListBillingSchedulesRequest.Builderpage(String page)The value of the ‘opc-next-page’ response header from the previous “List” call.ListBillingSchedulesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListBillingSchedulesRequest.BuildersortBy(ListBillingSchedulesRequest.SortBy sortBy)The field to sort by.ListBillingSchedulesRequest.BuildersortOrder(ListBillingSchedulesRequest.SortOrder sortOrder)The sort order to use, either ascending (‘ASC’) or descending (‘DESC’).ListBillingSchedulesRequest.BuildersubscribedServiceId(String subscribedServiceId)This param is used to get only the billing schedules for a particular Subscribed ServiceListBillingSchedulesRequest.BuildersubscriptionId(String subscriptionId)This param is used to get only the billing schedules for a particular Subscription Id-
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 ListBillingSchedulesRequest.Builder compartmentId(String compartmentId)
The OCID of the root compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
subscriptionId
public ListBillingSchedulesRequest.Builder subscriptionId(String subscriptionId)
This param is used to get only the billing schedules for a particular Subscription Id- Parameters:
subscriptionId- the value to set- Returns:
- this builder instance
-
subscribedServiceId
public ListBillingSchedulesRequest.Builder subscribedServiceId(String subscribedServiceId)
This param is used to get only the billing schedules for a particular Subscribed Service- Parameters:
subscribedServiceId- the value to set- Returns:
- this builder instance
-
limit
public ListBillingSchedulesRequest.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 ListBillingSchedulesRequest.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
-
sortOrder
public ListBillingSchedulesRequest.Builder sortOrder(ListBillingSchedulesRequest.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 ListBillingSchedulesRequest.Builder sortBy(ListBillingSchedulesRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (‘sortOrder’).
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListBillingSchedulesRequest.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 ListBillingSchedulesRequest.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 ListBillingSchedulesRequest.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 ListBillingSchedulesRequest.Builder copy(ListBillingSchedulesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListBillingSchedulesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListBillingSchedulesRequest build()
Build the instance of ListBillingSchedulesRequest 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<ListBillingSchedulesRequest,Void>- Returns:
- instance of ListBillingSchedulesRequest
-
buildWithoutInvocationCallback
public ListBillingSchedulesRequest buildWithoutInvocationCallback()
Build the instance of ListBillingSchedulesRequest 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 ListBillingSchedulesRequest
-
-