List of usage examples for com.amazonaws.services.ec2.model RouteTable getPropagatingVgws
public java.util.List<PropagatingVgw> getPropagatingVgws()
Any virtual private gateway (VGW) propagating routes.
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())); }