Class GetNetworkingTopologyRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.GetNetworkingTopologyRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetNetworkingTopologyRequest,Void>
- Enclosing class:
- GetNetworkingTopologyRequest
public static class GetNetworkingTopologyRequest.Builder extends Object implements BmcRequest.Builder<GetNetworkingTopologyRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetNetworkingTopologyRequest.Builder
accessLevel(GetNetworkingTopologyRequest.AccessLevel accessLevel)
Valid values are ANY and ACCESSIBLE.GetNetworkingTopologyRequest
build()
Build the instance of GetNetworkingTopologyRequest as configured by this builderGetNetworkingTopologyRequest
buildWithoutInvocationCallback()
Build the instance of GetNetworkingTopologyRequest as configured by this builderGetNetworkingTopologyRequest.Builder
cacheControl(String cacheControl)
The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.GetNetworkingTopologyRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.GetNetworkingTopologyRequest.Builder
copy(GetNetworkingTopologyRequest o)
Copy method to populate the builder with values from the given instance.GetNetworkingTopologyRequest.Builder
ifNoneMatch(String ifNoneMatch)
For querying if there is a cached value on the server.GetNetworkingTopologyRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetNetworkingTopologyRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.GetNetworkingTopologyRequest.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.GetNetworkingTopologyRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public GetNetworkingTopologyRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
accessLevel
public GetNetworkingTopologyRequest.Builder accessLevel(GetNetworkingTopologyRequest.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.
- Parameters:
accessLevel
- the value to set- Returns:
- this builder instance
-
queryCompartmentSubtree
public GetNetworkingTopologyRequest.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.
- Parameters:
queryCompartmentSubtree
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetNetworkingTopologyRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
ifNoneMatch
public GetNetworkingTopologyRequest.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.
- Parameters:
ifNoneMatch
- the value to set- Returns:
- this builder instance
-
cacheControl
public GetNetworkingTopologyRequest.Builder cacheControl(String cacheControl)
The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.- Parameters:
cacheControl
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetNetworkingTopologyRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetNetworkingTopologyRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetNetworkingTopologyRequest.Builder copy(GetNetworkingTopologyRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetNetworkingTopologyRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetNetworkingTopologyRequest build()
Build the instance of GetNetworkingTopologyRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<GetNetworkingTopologyRequest,Void>
- Returns:
- instance of GetNetworkingTopologyRequest
-
buildWithoutInvocationCallback
public GetNetworkingTopologyRequest buildWithoutInvocationCallback()
Build the instance of GetNetworkingTopologyRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of GetNetworkingTopologyRequest
-
-