Example usage for com.amazonaws.auth.policy.actions S3Actions getActionName

List of usage examples for com.amazonaws.auth.policy.actions S3Actions getActionName

Introduction

In this page you can find the example usage for com.amazonaws.auth.policy.actions S3Actions getActionName.

Prototype

public String getActionName() 

Source Link

Usage

From source file:n3phele.storage.s3.PolicyHelper.java

License:Open Source License

private static S3Actions to(String value) {
    if (map == null) {
        map = new HashMap<String, S3Actions>();
        for (S3Actions x : S3Actions.values()) {
            map.put(x.getActionName(), x);
        }/*from   w  w w  .ja  v  a  2s.  c o  m*/
    }
    return map.get(value);
}