Enum Class AbstractDynamoDbProperties.BillingMode

java.lang.Object
java.lang.Enum<AbstractDynamoDbProperties.BillingMode>
org.apereo.cas.configuration.model.support.dynamodb.AbstractDynamoDbProperties.BillingMode
All Implemented Interfaces:
Serializable, Comparable<AbstractDynamoDbProperties.BillingMode>, Constable
Enclosing class:
AbstractDynamoDbProperties

public static enum AbstractDynamoDbProperties.BillingMode extends Enum<AbstractDynamoDbProperties.BillingMode>
  • Enum Constant Details

    • PROVISIONED

      public static final AbstractDynamoDbProperties.BillingMode PROVISIONED
      Provisioned mode means that you specify the number of reads and writes per second that you expect your application to use. Provisioned mode is a good option if any of the following are true:
      • You have predictable application traffic.
      • You run applications whose traffic is consistent or ramps gradually.
      • You can forecast capacity requirements to control costs.
      You can use auto scaling to automatically adjust capacity based on the specified utilization rate to ensure application performance while reducing costs.
    • PAY_PER_REQUEST

      public static final AbstractDynamoDbProperties.BillingMode PAY_PER_REQUEST
      Pay-per-request or on-demand billing means that you're charged for only the read/write requests that you use. On-demand mode is a good option if any of the following are true:
      • You create new tables with unknown workloads.
      • You have unpredictable application traffic.
      • You prefer the ease of paying for only what you use.
      Tables using on-demand mode support all DynamoDB features (such as encryption at rest, point-in-time recovery, global tables, and so on) with the exception of auto scaling, which is not applicable with this mode.
  • Method Details

    • values

      public static AbstractDynamoDbProperties.BillingMode[] 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 AbstractDynamoDbProperties.BillingMode 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