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>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPay-per-request or on-demand billing means that you're charged for only the read/write requests that you use.Provisioned mode means that you specify the number of reads and writes per second that you expect your application to use. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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.
-
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.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-