Example usage for com.amazonaws.services.redshift.model Tag getValue

List of usage examples for com.amazonaws.services.redshift.model Tag getValue

Introduction

In this page you can find the example usage for com.amazonaws.services.redshift.model Tag getValue.

Prototype


public String getValue() 

Source Link

Document

The value for the resource tag.

Usage

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  a  v a 2  s  .  c  o  m
    return tagMap;
}