public enum BandwidthType extends Enum<BandwidthType>
| Modifier and Type | Method and Description |
|---|---|
static BandwidthType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static BandwidthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BandwidthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BandwidthType UPLOAD
public static final BandwidthType DOWNLOAD
public static final BandwidthType ALL
public static BandwidthType[] values()
for (BandwidthType c : BandwidthType.values()) System.out.println(c);
public static BandwidthType 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<BandwidthType>public static BandwidthType fromValue(String value)
value - real valueCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.