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 classGetVcnTopologyRequest.AccessLevelValid values are ANY and ACCESSIBLE.static classGetVcnTopologyRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetVcnTopologyRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetVcnTopologyRequest.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’.GetVcnTopologyRequest.AccessLevelgetAccessLevel()Valid values are ANY and ACCESSIBLE.StringgetCacheControl()The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.StringgetCompartmentId()The OCID of the compartment.StringgetIfNoneMatch()For querying if there is a cached value on the server.StringgetOpcRequestId()Unique identifier for the request.BooleangetQueryCompartmentSubtree()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.StringgetVcnId()The OCID of the VCN.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetVcnTopologyRequest.BuildertoBuilder()Return an instance ofGetVcnTopologyRequest.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
-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
GetVcnTopologyRequest.Builderthat 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: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>
-
-