Class GetVcnTopologyRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.core.requests.GetVcnTopologyRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class GetVcnTopologyRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/core/GetVcnTopologyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetVcnTopologyRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetVcnTopologyRequest.AccessLevel
Valid values are ANY and ACCESSIBLE.static class
GetVcnTopologyRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetVcnTopologyRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetVcnTopologyRequest.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’.GetVcnTopologyRequest.AccessLevel
getAccessLevel()
Valid values are ANY and ACCESSIBLE.String
getCacheControl()
The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.String
getCompartmentId()
The OCID of the compartment.String
getIfNoneMatch()
For querying if there is a cached value on the server.String
getOpcRequestId()
Unique identifier for the request.Boolean
getQueryCompartmentSubtree()
When set to true, the hierarchy of compartments is traversed and the specified compartment and its subcompartments are inspected depending on the the setting of accessLevel.String
getVcnId()
The OCID of the VCN.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetVcnTopologyRequest.Builder
toBuilder()
Return an instance ofGetVcnTopologyRequest.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
-
getAccessLevel
public GetVcnTopologyRequest.AccessLevel getAccessLevel()
Valid values are ANY and ACCESSIBLE.The default is ANY. Setting this to ACCESSIBLE returns only compartments for which a user has INSPECT permissions, either directly or indirectly (permissions can be on a resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has indirect INSPECT permissions.
When set to ANY permissions are not checked.
-
getQueryCompartmentSubtree
public Boolean getQueryCompartmentSubtree()
When set to true, the hierarchy of compartments is traversed and the specified compartment and its subcompartments are inspected depending on the the setting of accessLevel.Default is false.
-
getOpcRequestId
public String getOpcRequestId()
Unique identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getIfNoneMatch
public String getIfNoneMatch()
For querying if there is a cached value on the server.The If-None-Match HTTP request header makes the request conditional. For GET and HEAD methods, the server will send back the requested resource, with a 200 status, only if it doesn’t have an ETag matching the given ones. For other methods, the request will be processed only if the eventually existing resource’s ETag doesn’t match any of the values listed.
-
getCacheControl
public String getCacheControl()
The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.
-
toBuilder
public GetVcnTopologyRequest.Builder toBuilder()
Return an instance ofGetVcnTopologyRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetVcnTopologyRequest.Builder
that allows you to modify request properties.
-
builder
public static GetVcnTopologyRequest.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>
-
-