Enum StreamMode
- All Implemented Interfaces:
Serializable
,Comparable<StreamMode>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.647Z")
@Stability(Stable)
public enum StreamMode
extends Enum<StreamMode>
Specifies the capacity mode to apply to this stream.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSpecify the on-demand capacity mode.Specify the provisioned capacity mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamMode
Returns the enum constant of this type with the specified name.static StreamMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROVISIONED
Specify the provisioned capacity mode.The stream will have
shardCount
shards unless modified and will be billed according to the provisioned capacity. -
ON_DEMAND
Specify the on-demand capacity mode.The stream will autoscale and be billed according to the volume of data ingested and retrieved.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-