Example usage for com.amazonaws.services.ec2.model RouteTable getTags

List of usage examples for com.amazonaws.services.ec2.model RouteTable getTags

Introduction

In this page you can find the example usage for com.amazonaws.services.ec2.model RouteTable getTags.

Prototype


public java.util.List<Tag> getTags() 

Source Link

Document

Any tags assigned to the route table.

Usage

From source file:com.infinitechaos.vpcviewer.web.rest.dto.RouteTableDTO.java

License:Open Source License

public RouteTableDTO(final RouteTable routeTable) {
    this.routeTableId = routeTable.getRouteTableId();
    this.vpcId = routeTable.getVpcId();
    this.routes.addAll(routeTable.getRoutes().stream().map(RouteDTO::new).collect(Collectors.toList()));
    this.tags.addAll(routeTable.getTags().stream().map(TagDTO::new).collect(Collectors.toList()));
    this.associations.addAll(routeTable.getAssociations().stream().map(RouteTableAssociationDTO::new)
            .collect(Collectors.toList()));
    this.propagatingVgws.addAll(
            routeTable.getPropagatingVgws().stream().map(PropagatingVgwDTO::new).collect(Collectors.toList()));
}