public static class GetSubnetTopologyRequest.Builder extends Object implements BmcRequest.Builder<GetSubnetTopologyRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetSubnetTopologyRequest.Builder |
accessLevel(GetSubnetTopologyRequest.AccessLevel accessLevel)
Valid values are
ANY and ACCESSIBLE . |
GetSubnetTopologyRequest |
build()
Build the instance of GetSubnetTopologyRequest as configured by this builder
|
GetSubnetTopologyRequest |
buildWithoutInvocationCallback()
Build the instance of GetSubnetTopologyRequest as configured by this builder
|
GetSubnetTopologyRequest.Builder |
cacheControl(String cacheControl)
The Cache-Control HTTP header holds directives (instructions) for caching in both
requests and responses.
|
GetSubnetTopologyRequest.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
GetSubnetTopologyRequest.Builder |
copy(GetSubnetTopologyRequest o)
Copy method to populate the builder with values from the given instance.
|
GetSubnetTopologyRequest.Builder |
ifNoneMatch(String ifNoneMatch)
For querying if there is a cached value on the server.
|
GetSubnetTopologyRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetSubnetTopologyRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
GetSubnetTopologyRequest.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 . |
GetSubnetTopologyRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetSubnetTopologyRequest.Builder |
subnetId(String subnetId)
The OCID of the
subnet.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetSubnetTopologyRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic GetSubnetTopologyRequest.Builder subnetId(String subnetId)
The OCID of the subnet.
subnetId
- the value to setpublic GetSubnetTopologyRequest.Builder accessLevel(GetSubnetTopologyRequest.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 GetSubnetTopologyRequest.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 GetSubnetTopologyRequest.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 GetSubnetTopologyRequest.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 GetSubnetTopologyRequest.Builder cacheControl(String cacheControl)
The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.
cacheControl
- the value to setpublic GetSubnetTopologyRequest.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 GetSubnetTopologyRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetSubnetTopologyRequest.Builder copy(GetSubnetTopologyRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetSubnetTopologyRequest,Void>
o
- other request from which to copy valuespublic GetSubnetTopologyRequest build()
Build the instance of GetSubnetTopologyRequest 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<GetSubnetTopologyRequest,Void>
public GetSubnetTopologyRequest buildWithoutInvocationCallback()
Build the instance of GetSubnetTopologyRequest 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.