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

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

Introduction

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

Prototype


public java.util.List<PropagatingVgw> getPropagatingVgws() 

Source Link

Document

Any virtual private gateway (VGW) propagating routes.

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()));
}