public static class GetVcnTopologyRequest.Builder extends Object implements BmcRequest.Builder<GetVcnTopologyRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetVcnTopologyRequest.Builder |
accessLevel(GetVcnTopologyRequest.AccessLevel accessLevel)
Valid values are
ANY and ACCESSIBLE . |
GetVcnTopologyRequest |
build()
Build the instance of GetVcnTopologyRequest as configured by this builder
|
GetVcnTopologyRequest |
buildWithoutInvocationCallback()
Build the instance of GetVcnTopologyRequest as configured by this builder
|
GetVcnTopologyRequest.Builder |
cacheControl(String cacheControl)
The Cache-Control HTTP header holds directives (instructions) for caching in both
requests and responses.
|
GetVcnTopologyRequest.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
GetVcnTopologyRequest.Builder |
copy(GetVcnTopologyRequest o)
Copy method to populate the builder with values from the given instance.
|
GetVcnTopologyRequest.Builder |
ifNoneMatch(String ifNoneMatch)
For querying if there is a cached value on the server.
|
GetVcnTopologyRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetVcnTopologyRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
GetVcnTopologyRequest.Builder |
queryCompartmentSubtree(Boolean queryCompartmentSubtree)
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 . |
GetVcnTopologyRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetVcnTopologyRequest.Builder |
vcnId(String vcnId)
The OCID
of the VCN.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetVcnTopologyRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic GetVcnTopologyRequest.Builder vcnId(String vcnId)
The OCID of the VCN.
vcnId
- the value to setpublic GetVcnTopologyRequest.Builder accessLevel(GetVcnTopologyRequest.AccessLevel accessLevel)
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.
accessLevel
- the value to setpublic GetVcnTopologyRequest.Builder queryCompartmentSubtree(Boolean queryCompartmentSubtree)
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.
queryCompartmentSubtree
- the value to setpublic GetVcnTopologyRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic GetVcnTopologyRequest.Builder ifNoneMatch(String ifNoneMatch)
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.
ifNoneMatch
- the value to setpublic GetVcnTopologyRequest.Builder cacheControl(String cacheControl)
The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.
cacheControl
- the value to setpublic GetVcnTopologyRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetVcnTopologyRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetVcnTopologyRequest.Builder copy(GetVcnTopologyRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetVcnTopologyRequest,Void>
o
- other request from which to copy valuespublic GetVcnTopologyRequest build()
Build the instance of GetVcnTopologyRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetVcnTopologyRequest,Void>
public GetVcnTopologyRequest buildWithoutInvocationCallback()
Build the instance of GetVcnTopologyRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2025. All rights reserved.