Class ListInternalOccmDemandSignalItemsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.requests.ListInternalOccmDemandSignalItemsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListInternalOccmDemandSignalItemsRequest,Void>
- Enclosing class:
- ListInternalOccmDemandSignalItemsRequest
public static class ListInternalOccmDemandSignalItemsRequest.Builder extends Object implements BmcRequest.Builder<ListInternalOccmDemandSignalItemsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInternalOccmDemandSignalItemsRequest
build()
Build the instance of ListInternalOccmDemandSignalItemsRequest as configured by this builderListInternalOccmDemandSignalItemsRequest
buildWithoutInvocationCallback()
Build the instance of ListInternalOccmDemandSignalItemsRequest as configured by this builderListInternalOccmDemandSignalItemsRequest.Builder
compartmentId(String compartmentId)
The ocid of the compartment or tenancy in which resources are to be listed.ListInternalOccmDemandSignalItemsRequest.Builder
copy(ListInternalOccmDemandSignalItemsRequest o)
Copy method to populate the builder with values from the given instance.ListInternalOccmDemandSignalItemsRequest.Builder
demandSignalNamespace(DemandSignalNamespace demandSignalNamespace)
A query parameter to filter the list of demand signal details based on the namespace.ListInternalOccmDemandSignalItemsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListInternalOccmDemandSignalItemsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListInternalOccmDemandSignalItemsRequest.Builder
occCustomerGroupId(String occCustomerGroupId)
The customer group ocid by which we would filter the list.ListInternalOccmDemandSignalItemsRequest.Builder
occmDemandSignalId(String occmDemandSignalId)
A query parameter to filter the list of demand signal items based on a demand signal id.ListInternalOccmDemandSignalItemsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListInternalOccmDemandSignalItemsRequest.Builder
page(String page)
A token representing the position at which to start retrieving results.ListInternalOccmDemandSignalItemsRequest.Builder
resourceName(String resourceName)
A query parameter to filter the list of demand signal details based on the resource name.ListInternalOccmDemandSignalItemsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListInternalOccmDemandSignalItemsRequest.Builder
sortBy(ListInternalOccmDemandSignalItemsRequest.SortBy sortBy)
The field to sort the response of List Demand Signal Details API.ListInternalOccmDemandSignalItemsRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘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 ListInternalOccmDemandSignalItemsRequest.Builder compartmentId(String compartmentId)
The ocid of the compartment or tenancy in which resources are to be listed.This will also be used for authorization purposes.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
occCustomerGroupId
public ListInternalOccmDemandSignalItemsRequest.Builder occCustomerGroupId(String occCustomerGroupId)
The customer group ocid by which we would filter the list.- Parameters:
occCustomerGroupId
- the value to set- Returns:
- this builder instance
-
occmDemandSignalId
public ListInternalOccmDemandSignalItemsRequest.Builder occmDemandSignalId(String occmDemandSignalId)
A query parameter to filter the list of demand signal items based on a demand signal id.- Parameters:
occmDemandSignalId
- the value to set- Returns:
- this builder instance
-
resourceName
public ListInternalOccmDemandSignalItemsRequest.Builder resourceName(String resourceName)
A query parameter to filter the list of demand signal details based on the resource name.- Parameters:
resourceName
- the value to set- Returns:
- this builder instance
-
demandSignalNamespace
public ListInternalOccmDemandSignalItemsRequest.Builder demandSignalNamespace(DemandSignalNamespace demandSignalNamespace)
A query parameter to filter the list of demand signal details based on the namespace.- Parameters:
demandSignalNamespace
- the value to set- Returns:
- this builder instance
-
limit
public ListInternalOccmDemandSignalItemsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListInternalOccmDemandSignalItemsRequest.Builder page(String page)
A token representing the position at which to start retrieving results.This must come from opc-next-page header field of a previous response.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListInternalOccmDemandSignalItemsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.The only valid characters for request IDs are letters, numbers, underscore, and dash.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListInternalOccmDemandSignalItemsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListInternalOccmDemandSignalItemsRequest.Builder sortBy(ListInternalOccmDemandSignalItemsRequest.SortBy sortBy)
The field to sort the response of List Demand Signal Details API.Only one sort order may be provided. The default order for resource name is case sensitive alphabetical order.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListInternalOccmDemandSignalItemsRequest.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 ListInternalOccmDemandSignalItemsRequest.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 ListInternalOccmDemandSignalItemsRequest.Builder copy(ListInternalOccmDemandSignalItemsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListInternalOccmDemandSignalItemsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListInternalOccmDemandSignalItemsRequest build()
Build the instance of ListInternalOccmDemandSignalItemsRequest 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<ListInternalOccmDemandSignalItemsRequest,Void>
- Returns:
- instance of ListInternalOccmDemandSignalItemsRequest
-
buildWithoutInvocationCallback
public ListInternalOccmDemandSignalItemsRequest buildWithoutInvocationCallback()
Build the instance of ListInternalOccmDemandSignalItemsRequest 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 ListInternalOccmDemandSignalItemsRequest
-
-