@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:56.955Z") @Stability(value=Experimental) public enum AdjustmentType extends Enum<AdjustmentType>
| Enum Constant and Description |
|---|
CHANGE_IN_CAPACITY
(experimental) Add the adjustment number to the current capacity.
|
EXACT_CAPACITY
(experimental) Make the capacity equal to the exact number given.
|
PERCENT_CHANGE_IN_CAPACITY
(experimental) Add this percentage of the current capacity to itself.
|
| Modifier and Type | Method and Description |
|---|---|
static AdjustmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdjustmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final AdjustmentType CHANGE_IN_CAPACITY
A positive number increases capacity, a negative number decreases capacity.
@Stability(value=Experimental) public static final AdjustmentType PERCENT_CHANGE_IN_CAPACITY
The number must be between -100 and 100; a positive number increases capacity and a negative number decreases it.
@Stability(value=Experimental) public static final AdjustmentType EXACT_CAPACITY
public static AdjustmentType[] values()
for (AdjustmentType c : AdjustmentType.values()) System.out.println(c);
public static AdjustmentType 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 © 2021. All rights reserved.