public class GbpExternalRoutes extends Object implements ExternalRoutes
Modifier and Type | Class and Description |
---|---|
static class |
GbpExternalRoutes.ExternalRoutesConcreteBuilder |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GbpExternalRoutes() |
GbpExternalRoutes(String destination,
String nexthop) |
Modifier and Type | Method and Description |
---|---|
static ExternalRoutesBuilder |
builder() |
String |
getDestination()
Gets the destination for the route
|
String |
getNexthop()
Gets the NextHop for this route
|
ExternalRoutesBuilder |
toBuilder() |
String |
toString() |
public String getDestination()
getDestination
in interface ExternalRoutes
public String getNexthop()
getNexthop
in interface ExternalRoutes
public ExternalRoutesBuilder toBuilder()
toBuilder
in interface Buildable<ExternalRoutesBuilder>
public static ExternalRoutesBuilder builder()
Copyright © 2017. All rights reserved.