org.dasein.cloud.aws.storage
Enum S3Action
java.lang.Object
java.lang.Enum<S3Action>
org.dasein.cloud.aws.storage.S3Action
- All Implemented Interfaces:
- Serializable, Comparable<S3Action>
public enum S3Action
- extends Enum<S3Action>
|
Method Summary |
org.apache.commons.httpclient.HttpMethod |
getMethod(String url)
|
static S3Action |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static S3Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CREATE_BUCKET
public static final S3Action CREATE_BUCKET
DELETE_BUCKET
public static final S3Action DELETE_BUCKET
LIST_BUCKETS
public static final S3Action LIST_BUCKETS
LIST_CONTENTS
public static final S3Action LIST_CONTENTS
LOCATE_BUCKET
public static final S3Action LOCATE_BUCKET
COPY_OBJECT
public static final S3Action COPY_OBJECT
OBJECT_EXISTS
public static final S3Action OBJECT_EXISTS
GET_OBJECT
public static final S3Action GET_OBJECT
PUT_OBJECT
public static final S3Action PUT_OBJECT
DELETE_OBJECT
public static final S3Action DELETE_OBJECT
GET_ACL
public static final S3Action GET_ACL
SET_ACL
public static final S3Action SET_ACL
values
public static S3Action[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (S3Action c : S3Action.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static S3Action valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getMethod
public org.apache.commons.httpclient.HttpMethod getMethod(String url)
Copyright © 2012 enStratus Networks LLC. All Rights Reserved.