Interface OciRegion


@Contract public interface OciRegion
An OCI region discovery mechanism to provide Region as a service in Helidon service registry.

This service is implemented by:

  • Config based - just put oci.region to OCI configuration (or environment variables/system properties)
  • Authentication provider based - if the authentication provider implements a RegionProvider, the region will be used
  • Region from Region.getRegionFromImds()
The first one that provides an instance will be used as the value. To customize, create your own service with a default or higher weight.
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<com.oracle.bmc.Region>
    The region, if it can be provided by this service.
  • Method Details

    • region

      Optional<com.oracle.bmc.Region> region()
      The region, if it can be provided by this service.
      Returns:
      OCI region