Class ListInternalOccmDemandSignalCatalogResourcesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.requests.ListInternalOccmDemandSignalCatalogResourcesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListInternalOccmDemandSignalCatalogResourcesRequest,Void>
- Enclosing class:
- ListInternalOccmDemandSignalCatalogResourcesRequest
public static class ListInternalOccmDemandSignalCatalogResourcesRequest.Builder extends Object implements BmcRequest.Builder<ListInternalOccmDemandSignalCatalogResourcesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInternalOccmDemandSignalCatalogResourcesRequestbuild()Build the instance of ListInternalOccmDemandSignalCatalogResourcesRequest as configured by this builderListInternalOccmDemandSignalCatalogResourcesRequestbuildWithoutInvocationCallback()Build the instance of ListInternalOccmDemandSignalCatalogResourcesRequest as configured by this builderListInternalOccmDemandSignalCatalogResourcesRequest.BuildercompartmentId(String compartmentId)The ocid of the compartment or tenancy in which resources are to be listed.ListInternalOccmDemandSignalCatalogResourcesRequest.Buildercopy(ListInternalOccmDemandSignalCatalogResourcesRequest o)Copy method to populate the builder with values from the given instance.ListInternalOccmDemandSignalCatalogResourcesRequest.BuilderdemandSignalNamespace(DemandSignalNamespace demandSignalNamespace)A query parameter to filter the list of demand signal catalog resources based on the namespace.ListInternalOccmDemandSignalCatalogResourcesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListInternalOccmDemandSignalCatalogResourcesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListInternalOccmDemandSignalCatalogResourcesRequest.Buildername(String name)A query parameter to filter the list of demand signal catalog resource based on the resource name.ListInternalOccmDemandSignalCatalogResourcesRequest.BuilderoccCustomerGroupId(String occCustomerGroupId)The customer group ocid by which we would filter the list.ListInternalOccmDemandSignalCatalogResourcesRequest.BuilderoccmDemandSignalCatalogId(String occmDemandSignalCatalogId)The ocid of demand signal catalog id.ListInternalOccmDemandSignalCatalogResourcesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListInternalOccmDemandSignalCatalogResourcesRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListInternalOccmDemandSignalCatalogResourcesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListInternalOccmDemandSignalCatalogResourcesRequest.BuildersortBy(ListInternalOccmDemandSignalCatalogResourcesRequest.SortBy sortBy)The field to sort the response of List Demand catalog resources API.ListInternalOccmDemandSignalCatalogResourcesRequest.BuildersortOrder(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 ListInternalOccmDemandSignalCatalogResourcesRequest.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 ListInternalOccmDemandSignalCatalogResourcesRequest.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
-
occmDemandSignalCatalogId
public ListInternalOccmDemandSignalCatalogResourcesRequest.Builder occmDemandSignalCatalogId(String occmDemandSignalCatalogId)
The ocid of demand signal catalog id.- Parameters:
occmDemandSignalCatalogId- the value to set- Returns:
- this builder instance
-
name
public ListInternalOccmDemandSignalCatalogResourcesRequest.Builder name(String name)
A query parameter to filter the list of demand signal catalog resource based on the resource name.- Parameters:
name- the value to set- Returns:
- this builder instance
-
demandSignalNamespace
public ListInternalOccmDemandSignalCatalogResourcesRequest.Builder demandSignalNamespace(DemandSignalNamespace demandSignalNamespace)
A query parameter to filter the list of demand signal catalog resources based on the namespace.- Parameters:
demandSignalNamespace- the value to set- Returns:
- this builder instance
-
limit
public ListInternalOccmDemandSignalCatalogResourcesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListInternalOccmDemandSignalCatalogResourcesRequest.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 ListInternalOccmDemandSignalCatalogResourcesRequest.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 ListInternalOccmDemandSignalCatalogResourcesRequest.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 ListInternalOccmDemandSignalCatalogResourcesRequest.Builder sortBy(ListInternalOccmDemandSignalCatalogResourcesRequest.SortBy sortBy)
The field to sort the response of List Demand catalog resources API.Only one sort order may be provided. The default order for name is case sensitive alphabetical order.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListInternalOccmDemandSignalCatalogResourcesRequest.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 ListInternalOccmDemandSignalCatalogResourcesRequest.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 ListInternalOccmDemandSignalCatalogResourcesRequest.Builder copy(ListInternalOccmDemandSignalCatalogResourcesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListInternalOccmDemandSignalCatalogResourcesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListInternalOccmDemandSignalCatalogResourcesRequest build()
Build the instance of ListInternalOccmDemandSignalCatalogResourcesRequest 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<ListInternalOccmDemandSignalCatalogResourcesRequest,Void>- Returns:
- instance of ListInternalOccmDemandSignalCatalogResourcesRequest
-
buildWithoutInvocationCallback
public ListInternalOccmDemandSignalCatalogResourcesRequest buildWithoutInvocationCallback()
Build the instance of ListInternalOccmDemandSignalCatalogResourcesRequest 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 ListInternalOccmDemandSignalCatalogResourcesRequest
-
-