public static class GetResourceAvailabilityRequest.Builder extends Object implements com.oracle.bmc.requests.BmcRequest.Builder<GetResourceAvailabilityRequest,Void>
| Modifier and Type | Method and Description |
|---|---|
GetResourceAvailabilityRequest.Builder |
availabilityDomain(String availabilityDomain)
This field is mandatory if the scopeType of the target resource limit is AD.
|
GetResourceAvailabilityRequest |
build()
Build the instance of GetResourceAvailabilityRequest as configured by this builder
|
GetResourceAvailabilityRequest |
buildWithoutInvocationCallback() |
GetResourceAvailabilityRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment for which data is being fetched.
|
GetResourceAvailabilityRequest.Builder |
copy(GetResourceAvailabilityRequest o)
Copy method to populate the builder with values from the given instance.
|
GetResourceAvailabilityRequest.Builder |
invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
GetResourceAvailabilityRequest.Builder |
limitName(String limitName)
The limit name for which to fetch the data.
|
GetResourceAvailabilityRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetResourceAvailabilityRequest.Builder |
retryConfiguration(com.oracle.bmc.retrier.RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetResourceAvailabilityRequest.Builder |
serviceName(String serviceName)
The service name of the target quota.
|
String |
toString() |
public GetResourceAvailabilityRequest.Builder invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback - the invocation callback to be set for the requestpublic GetResourceAvailabilityRequest.Builder retryConfiguration(com.oracle.bmc.retrier.RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration - the retry configuration to be used for the requestpublic GetResourceAvailabilityRequest.Builder copy(GetResourceAvailabilityRequest o)
Copy method to populate the builder with values from the given instance.
copy in interface com.oracle.bmc.requests.BmcRequest.Builder<GetResourceAvailabilityRequest,Void>public GetResourceAvailabilityRequest build()
Build the instance of GetResourceAvailabilityRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer) into account,
while the method buildWithoutInvocationCallback() does not.
This is the preferred method to build an instance.
build in interface com.oracle.bmc.requests.BmcRequest.Builder<GetResourceAvailabilityRequest,Void>public GetResourceAvailabilityRequest.Builder serviceName(String serviceName)
The service name of the target quota.
this.public GetResourceAvailabilityRequest.Builder limitName(String limitName)
The limit name for which to fetch the data.
this.public GetResourceAvailabilityRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment for which data is being fetched.
this.public GetResourceAvailabilityRequest.Builder availabilityDomain(String availabilityDomain)
This field is mandatory if the scopeType of the target resource limit is AD. Otherwise, this field should be omitted. If the above requirements are not met, the API will return a 400 - InvalidParameter response.
this.public GetResourceAvailabilityRequest.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.
this.public GetResourceAvailabilityRequest buildWithoutInvocationCallback()
Copyright © 2016–2021. All rights reserved.