Class GetNetworkingTopologyRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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