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

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

Introduction

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

Prototype


public String getDestinationCidrBlock() 

Source Link

Document

The IPv4 CIDR block used for the destination match.

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