Enum AbstractDynamoDbProperties.BillingMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      PAY_PER_REQUEST
      Pay-per-request or on-demand billing means that you're charged for only the read/write requests that you use.
      PROVISIONED
      Provisioned mode means that you specify the number of reads and writes per second that you expect your application to use.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AbstractDynamoDbProperties.BillingMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AbstractDynamoDbProperties.BillingMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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 Detail

      • values

        public static AbstractDynamoDbProperties.BillingMode[] 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 (AbstractDynamoDbProperties.BillingMode c : AbstractDynamoDbProperties.BillingMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AbstractDynamoDbProperties.BillingMode valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null