Class OCIConfigFileReader.OCIConfigFile

  • Enclosing class:
    OCIConfigFileReader

    public static final class OCIConfigFileReader.OCIConfigFile
    extends java.lang.Object
    Cloud service only.

    OCIConfigFile represents a simple lookup mechanism for an OCI config file.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get​(java.lang.String key)
      Gets the value associated with a given key.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public java.lang.String get​(java.lang.String key)
        Gets the value associated with a given key. The value returned will be the one for the selected profile (if available), else the value in the DEFAULT profile (if specified), else null.
        Parameters:
        key - the key
        Returns:
        the value