public enum TransferType extends java.lang.Enum<TransferType>
| Enum Constant and Description |
|---|
ANY
Upload and Download operation.
|
DOWNLOAD
An Downlaod operation.
|
UPLOAD
An Upload operation.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferType |
getType(java.lang.String type)
Returns type of transfer.
|
static TransferType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferType UPLOAD
public static final TransferType DOWNLOAD
public static final TransferType ANY
public static TransferType[] values()
for (TransferType c : TransferType.values()) System.out.println(c);
public static TransferType 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 TransferType getType(java.lang.String type)
type - the transfer type as String.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.