org.jclouds.ec2.util
Class Tags

java.lang.Object
  extended by org.jclouds.ec2.util.Tags

public class Tags
extends Object


Nested Class Summary
static class Tags.KeyFunction
           
static class Tags.ResourceIdFunction
           
static class Tags.ValueFunction
           
 
Method Summary
static com.google.common.base.Function<Tag,String> keyFunction()
           
static com.google.common.base.Function<Tag,String> resourceIdFunction()
           
static Map<String,Map<String,String>> resourceToTagsAsMap(Iterable<Tag> tags)
          maps the input on Tag.getResourceId() with a value of a map of its Tag.getKey() to Tag.getValue()
static com.google.common.base.Function<Tag,String> valueFunction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resourceToTagsAsMap

public static Map<String,Map<String,String>> resourceToTagsAsMap(Iterable<Tag> tags)
maps the input on Tag.getResourceId() with a value of a map of its Tag.getKey() to Tag.getValue()


valueFunction

public static com.google.common.base.Function<Tag,String> valueFunction()

keyFunction

public static com.google.common.base.Function<Tag,String> keyFunction()

resourceIdFunction

public static com.google.common.base.Function<Tag,String> resourceIdFunction()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.