List of usage examples for com.amazonaws.services.redshift.model Tag getKey
public String getKey()
The key, or name, for the resource tag.
From source file:com.optimalbi.Services.LocalRedshiftService.java
License:Apache License
public Map<String, String> getTags() { List<Tag> tags = thisCluster.getTags(); Map<String, String> tagMap = new HashMap<>(); for (Tag t : tags) { tagMap.put(t.getKey(), t.getValue()); }//from ww w. j av a 2 s . c o m return tagMap; }