Enum InfrastructureType

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<InfrastructureType>

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public enum InfrastructureType
    extends Enum<InfrastructureType>
    implements BmcEnum
    The infrastructure type the database is running on.

    Allowed values are - ORACLE_CLOUD - Represents that the database is running on the Oracle Cloud Infrastructure. - CLOUD_AT_CUSTOMER - Represents that the database is running on Oracle Cloud@Customer infrastructure. - ON_PREMISES - Represents that the database is running on on-premises infrastructure. - NON_ORACLE_CLOUD - Represents that the database is running on non-Oracle cloud infrastructure.

    • Method Detail

      • values

        public static InfrastructureType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InfrastructureType c : InfrastructureType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InfrastructureType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null