public enum TransferNetworkConnectionType extends java.lang.Enum<TransferNetworkConnectionType>
Enum Constant and Description |
---|
ANY
Any connection
|
MOBILE
Mobile only
|
WIFI
Wifi only
|
Modifier and Type | Method and Description |
---|---|
static TransferNetworkConnectionType |
getConnectionType(java.lang.String typeAsString)
Returns the connection type from string
|
static TransferNetworkConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransferNetworkConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferNetworkConnectionType ANY
public static final TransferNetworkConnectionType WIFI
public static final TransferNetworkConnectionType MOBILE
public static TransferNetworkConnectionType[] values()
for (TransferNetworkConnectionType c : TransferNetworkConnectionType.values()) System.out.println(c);
public static TransferNetworkConnectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TransferNetworkConnectionType getConnectionType(java.lang.String typeAsString)
typeAsString
- connection type of the transfer as string.TransferNetworkConnectionType
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.