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

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

Introduction

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

Prototype


public String getState() 

Source Link

Document

The state of the route.

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