@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum TargetSamplingRate extends Enum<TargetSamplingRate>
Enum Constant and Description |
---|
PT10M |
PT10S |
PT15M |
PT15S |
PT1H |
PT1M |
PT1S |
PT30M |
PT30S |
PT5M |
PT5S |
Modifier and Type | Method and Description |
---|---|
static TargetSamplingRate |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static TargetSamplingRate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetSamplingRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetSamplingRate PT1S
public static final TargetSamplingRate PT5S
public static final TargetSamplingRate PT10S
public static final TargetSamplingRate PT15S
public static final TargetSamplingRate PT30S
public static final TargetSamplingRate PT1M
public static final TargetSamplingRate PT5M
public static final TargetSamplingRate PT10M
public static final TargetSamplingRate PT15M
public static final TargetSamplingRate PT30M
public static final TargetSamplingRate PT1H
public static TargetSamplingRate[] values()
for (TargetSamplingRate c : TargetSamplingRate.values()) System.out.println(c);
public static TargetSamplingRate 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 String toString()
toString
in class Enum<TargetSamplingRate>
public static TargetSamplingRate fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.