org.dasein.cloud.aws.storage
Enum S3Action

java.lang.Object
  extended by java.lang.Enum<S3Action>
      extended by org.dasein.cloud.aws.storage.S3Action
All Implemented Interfaces:
Serializable, Comparable<S3Action>

public enum S3Action
extends Enum<S3Action>


Enum Constant Summary
COPY_OBJECT
           
CREATE_BUCKET
           
DELETE_BUCKET
           
DELETE_OBJECT
           
GET_ACL
           
GET_OBJECT
           
LIST_BUCKETS
           
LIST_CONTENTS
           
LOCATE_BUCKET
           
OBJECT_EXISTS
           
PUT_OBJECT
           
SET_ACL
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.