Class ListBillingSchedulesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.osubbillingschedule.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 ListBillingSchedulesRequest
build()
Build the instance of ListBillingSchedulesRequest as configured by this builderListBillingSchedulesRequest
buildWithoutInvocationCallback()
Build the instance of ListBillingSchedulesRequest as configured by this builderListBillingSchedulesRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListBillingSchedulesRequest.Builder
copy(ListBillingSchedulesRequest o)
Copy method to populate the builder with values from the given instance.ListBillingSchedulesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListBillingSchedulesRequest.Builder
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.ListBillingSchedulesRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListBillingSchedulesRequest.Builder
page(String page)
The value of the ‘opc-next-page’ response header from the previous “List” call.ListBillingSchedulesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListBillingSchedulesRequest.Builder
sortBy(ListBillingSchedulesRequest.SortBy sortBy)
The field to sort by.ListBillingSchedulesRequest.Builder
sortOrder(ListBillingSchedulesRequest.SortOrder sortOrder)
The sort order to use, either ascending (‘ASC’) or descending (‘DESC’).ListBillingSchedulesRequest.Builder
subscribedServiceId(String subscribedServiceId)
This param is used to get only the billing schedules for a particular Subscribed ServiceListBillingSchedulesRequest.Builder
subscriptionId(String subscriptionId)
This param is used to get only the billing schedules for a particular Subscription IdListBillingSchedulesRequest.Builder
xOneOriginRegion(String xOneOriginRegion)
The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g.-
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 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
-
xOneOriginRegion
public ListBillingSchedulesRequest.Builder xOneOriginRegion(String xOneOriginRegion)
The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g.ap-mumbai-1, us-phoenix-1 etc.
- Parameters:
xOneOriginRegion
- 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:
copy
in 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:
build
in 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
-
-