Enum Class CloudPriceType

java.lang.Object
java.lang.Enum<CloudPriceType>
io.datarouter.instrumentation.cost.CloudPriceType
All Implemented Interfaces:
Serializable, Comparable<CloudPriceType>, Constable

public enum CloudPriceType extends Enum<CloudPriceType>
Prices for cloud services. These are estimated prices. Factors that affect them: - Time: they tend to drop over time - Location: they differ by cloud region - Usage: price can reduce for higher usage - Reservations: price can be lower if you pre-pay for an amount - Taxes: these estimates don't include taxes - Discounts: large customers might negotiate discounts
  • Enum Constant Details

    • BLOB_READ_AWS

      public static final CloudPriceType BLOB_READ_AWS
    • BLOB_LIST_AWS

      public static final CloudPriceType BLOB_LIST_AWS
    • BLOB_WRITE_AWS

      public static final CloudPriceType BLOB_WRITE_AWS
    • MESSAGE_REQUEST_AWS

      public static final CloudPriceType MESSAGE_REQUEST_AWS
    • VM_CPU_MILLIMINUTE_GCP_N2

      public static final CloudPriceType VM_CPU_MILLIMINUTE_GCP_N2
    • VM_MEMORY_MIBMINUTE_GCP_N2

      public static final CloudPriceType VM_MEMORY_MIBMINUTE_GCP_N2
  • Field Details

    • id

      public final String id
    • nanoDollars

      public final long nanoDollars
  • Method Details

    • values

      public static CloudPriceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CloudPriceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null