List of usage examples for com.amazonaws.services.ec2 AmazonEC2AsyncClient createTags
CreateTagsResult createTags(CreateTagsRequest createTagsRequest);
Adds or overwrites the specified tags for the specified Amazon EC2 resource or resources.
From source file:com.vmware.photon.controller.model.adapters.awsadapter.AWSUtils.java
License:Open Source License
public static void createTags(Collection<String> resources, Collection<Tag> tags, AmazonEC2AsyncClient client) { CreateTagsRequest req = new CreateTagsRequest().withResources(resources).withTags(tags); client.createTags(req); }