Example usage for com.amazonaws.services.ec2.model Route getOrigin

List of usage examples for com.amazonaws.services.ec2.model Route getOrigin

Introduction

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

Prototype


public String getOrigin() 

Source Link

Document

Describes how the route was created.

Usage

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

License:Open Source License

public RouteDTO(final Route route) {
    this.origin = route.getOrigin();
    this.destinationCidrBlock = route.getDestinationCidrBlock();
    this.instanceId = route.getInstanceId();
    this.gatewayId = route.getGatewayId();
    this.vpcPeeringConnectionId = route.getVpcPeeringConnectionId();
    this.state = route.getState();
    this.networkInterfaceId = route.getNetworkInterfaceId();
}