@Generated(value="software.amazon.awssdk:codegen") public enum Duration extends Enum<Duration>
Enum Constant and Description |
---|
DAY_14 |
DAY_30 |
DAY_7 |
HR_24 |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static Duration |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<Duration> |
knownValues()
|
String |
toString() |
static Duration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Duration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Duration HR_24
public static final Duration DAY_7
public static final Duration DAY_14
public static final Duration DAY_30
public static final Duration UNKNOWN_TO_SDK_VERSION
public static Duration[] values()
for (Duration c : Duration.values()) System.out.println(c);
public static Duration 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 nullpublic static Duration fromValue(String value)
value
- real valueCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.