public static class ListOccAvailabilitiesRequest.Builder extends Object implements BmcRequest.Builder<ListOccAvailabilitiesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListOccAvailabilitiesRequest |
build()
Build the instance of ListOccAvailabilitiesRequest as configured by this builder
|
ListOccAvailabilitiesRequest |
buildWithoutInvocationCallback()
Build the instance of ListOccAvailabilitiesRequest as configured by this builder
|
ListOccAvailabilitiesRequest.Builder |
copy(ListOccAvailabilitiesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListOccAvailabilitiesRequest.Builder |
dateExpectedCapacityHandover(String dateExpectedCapacityHandover)
The capacity handover date of the capacity constraint to filter the list of capacity
constraints.
|
ListOccAvailabilitiesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListOccAvailabilitiesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListOccAvailabilitiesRequest.Builder |
occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog.
|
ListOccAvailabilitiesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListOccAvailabilitiesRequest.Builder |
page(String page)
A token representing the position at which to start retrieving results.
|
ListOccAvailabilitiesRequest.Builder |
resourceName(String resourceName)
The name of the resource to filter the list of capacity constraints.
|
ListOccAvailabilitiesRequest.Builder |
resourceType(String resourceType)
Resource type using which the capacity constraints of an availability catalog can be
filtered.
|
ListOccAvailabilitiesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListOccAvailabilitiesRequest.Builder |
sortBy(ListOccAvailabilitiesRequest.SortBy sortBy)
The field to sort by.
|
ListOccAvailabilitiesRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
ListOccAvailabilitiesRequest.Builder |
workloadType(String workloadType)
Workload type using the resources in an availability catalog can be filtered.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListOccAvailabilitiesRequest.Builder occAvailabilityCatalogId(String occAvailabilityCatalogId)
The OCID of the availability catalog.
occAvailabilityCatalogId
- the value to setpublic ListOccAvailabilitiesRequest.Builder dateExpectedCapacityHandover(String dateExpectedCapacityHandover)
The capacity handover date of the capacity constraint to filter the list of capacity constraints.
dateExpectedCapacityHandover
- the value to setpublic ListOccAvailabilitiesRequest.Builder resourceName(String resourceName)
The name of the resource to filter the list of capacity constraints.
resourceName
- the value to setpublic ListOccAvailabilitiesRequest.Builder resourceType(String resourceType)
Resource type using which the capacity constraints of an availability catalog can be filtered.
resourceType
- the value to setpublic ListOccAvailabilitiesRequest.Builder workloadType(String workloadType)
Workload type using the resources in an availability catalog can be filtered.
workloadType
- the value to setpublic ListOccAvailabilitiesRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListOccAvailabilitiesRequest.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.
page
- the value to setpublic ListOccAvailabilitiesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
opcRequestId
- the value to setpublic ListOccAvailabilitiesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic ListOccAvailabilitiesRequest.Builder sortBy(ListOccAvailabilitiesRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. The default order for resource name is ascending. The default order for date of capacity handover is descending.
sortBy
- the value to setpublic ListOccAvailabilitiesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListOccAvailabilitiesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListOccAvailabilitiesRequest.Builder copy(ListOccAvailabilitiesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListOccAvailabilitiesRequest,Void>
o
- other request from which to copy valuespublic ListOccAvailabilitiesRequest build()
Build the instance of ListOccAvailabilitiesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListOccAvailabilitiesRequest,Void>
public ListOccAvailabilitiesRequest buildWithoutInvocationCallback()
Build the instance of ListOccAvailabilitiesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.