Class OciRequestBase<T extends OciRequestBase<T>>

    • Constructor Detail

      • OciRequestBase

        protected OciRequestBase()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • retryToken

        public T retryToken​(String retryToken)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Retry token to support idempotent request when updating data.
        Parameters:
        retryToken - retry token
        Returns:
        updated request
      • hostPrefix

        public T hostPrefix​(String hostPrefix)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Host prefix to use. This is intended for API implementation and allows override of the default host prefix (for example in Vault API, we may use two different prefixes).
        Parameters:
        hostPrefix - host prefix
        Returns:
        updated request
      • hostFormat

        public T hostFormat​(String hostFormat)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Host format to use. Domain specific APIs must define a host format for each request.
        Parameters:
        hostFormat - host format
        Returns:
        updated request
      • endpoint

        public T endpoint​(String endpoint)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Override the endpoint to use for this request.
        Parameters:
        endpoint - full endpoint to override the default
        Returns:
        updated builder
      • endpoint

        public Optional<String> endpoint()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Endpoint (if configured).
        Returns:
        configured endpoint or empty
      • add

        protected T add​(String name,
                        Instant instant)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Add a timestamp to the JSON. Uses the timestamp as defined in OCI API.
        Parameters:
        name - name of the property
        instant - instant value
        Returns:
        updated request