@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.197Z") @Stability(value=Stable) public enum StreamMode extends Enum<StreamMode>
| Enum Constant and Description |
|---|
ON_DEMAND
Specify the on-demand capacity mode.
|
PROVISIONED
Specify the provisioned capacity mode.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamMode |
valueOf(String name)
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.
|
@Stability(value=Stable) public static final StreamMode PROVISIONED
The stream will have shardCount shards unless
modified and will be billed according to the provisioned capacity.
@Stability(value=Stable) public static final StreamMode ON_DEMAND
The stream will autoscale and be billed according to the volume of data ingested and retrieved.
public static StreamMode[] values()
for (StreamMode c : StreamMode.values()) System.out.println(c);
public static StreamMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.