Package com.oracle.bmc.limits.requests
Class GetResourceAvailabilityRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.limits.requests.GetResourceAvailabilityRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181025") public class GetResourceAvailabilityRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/limits/GetResourceAvailabilityExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetResourceAvailabilityRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetResourceAvailabilityRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetResourceAvailabilityRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourceAvailabilityRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getAvailabilityDomain()
This field is mandatory if the scopeType of the target resource limit is AD.String
getCompartmentId()
The OCID of the compartment for which data is being fetched.String
getLimitName()
The limit name for which to fetch the data.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getServiceName()
The service name of the target quota.String
getSubscriptionId()
The OCID of the subscription assigned to tenantint
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetResourceAvailabilityRequest.Builder
toBuilder()
Return an instance ofGetResourceAvailabilityRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getServiceName
public String getServiceName()
The service name of the target quota.
-
getLimitName
public String getLimitName()
The limit name for which to fetch the data.
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment for which data is being fetched.
-
getAvailabilityDomain
public String getAvailabilityDomain()
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 returns a 400 - InvalidParameter response.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getSubscriptionId
public String getSubscriptionId()
The OCID of the subscription assigned to tenant
-
toBuilder
public GetResourceAvailabilityRequest.Builder toBuilder()
Return an instance ofGetResourceAvailabilityRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetResourceAvailabilityRequest.Builder
that allows you to modify request properties.
-
builder
public static GetResourceAvailabilityRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-