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/latest/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 classGetResourceAvailabilityRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetResourceAvailabilityRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourceAvailabilityRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetAvailabilityDomain()This field is mandatory if the scopeType of the target resource limit is AD.StringgetCompartmentId()The OCID of the compartment for which data is being fetched.StringgetLimitName()The limit name for which to fetch the data.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetServiceName()The service name of the target quota.StringgetSubscriptionId()The OCID of the subscription assigned to tenantinthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetResourceAvailabilityRequest.BuildertoBuilder()Return an instance ofGetResourceAvailabilityRequest.Builderthat allows you to modify request properties.StringtoString()-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
GetResourceAvailabilityRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-