org.jclouds.aws.ec2.services
Interface TagClient


public interface TagClient

Provides Tag services for EC2. For more information, refer to the Amazon EC2 Developer Guide.

Author:
grkvlt@apache.org

Method Summary
 void createTagsInRegion(String region, Iterable<String> resourceIds, Map<String,String> tags)
          Creates tags.
 void deleteTagsInRegion(String region, Iterable<String> resourceIds, Map<String,String> tags)
          Deletes tags.
 Set<Tag> describeTagsInRegion(String region, Map<TagFilters.FilterName,Iterable<?>> filters)
          Returns filtered information about tags.
 

Method Detail

createTagsInRegion

void createTagsInRegion(@Nullable
                        String region,
                        Iterable<String> resourceIds,
                        Map<String,String> tags)
Creates tags.

Parameters:
region - Region to create the tag in.
resourceIds - IDs of the resources to tag.
tags - The tags to create.
See Also:
describeTagsInRegion(String, Map), deleteTagsInRegion(String, Iterable, Map),

deleteTagsInRegion

void deleteTagsInRegion(@Nullable
                        String region,
                        Iterable<String> resourceIds,
                        Map<String,String> tags)
Deletes tags.

Parameters:
region - Region to delete the tags from
resourceIds - IDs of the tagged resources.
tags - The tags to delete.
See Also:
describeTagsInRegion(String, Map), createTagsInRegion(String, Iterable, Map),

describeTagsInRegion

Set<Tag> describeTagsInRegion(@Nullable
                              String region,
                              Map<TagFilters.FilterName,Iterable<?>> filters)
Returns filtered information about tags.

Parameters:
region - The bundleTask ID is tied to the Region.
filters - A collection of filters to apply before selecting the tags.
See Also:
deleteTagsInRegion(String, Iterable, Map), createTagsInRegion(String, Iterable, Map),


Copyright © 2009-2011 jclouds. All Rights Reserved.