Class GbpExternalRoutes
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpExternalRoutes
-
- All Implemented Interfaces:
Serializable,Buildable<ExternalRoutesBuilder>,ExternalRoutes,ModelEntity
public class GbpExternalRoutes extends Object implements ExternalRoutes
Model implementation for External Routes- Author:
- vinod borole
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGbpExternalRoutes.ExternalRoutesConcreteBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description GbpExternalRoutes()GbpExternalRoutes(String destination, String nexthop)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalRoutesBuilderbuilder()StringgetDestination()Gets the destination for the routeStringgetNexthop()Gets the NextHop for this routeExternalRoutesBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static ExternalRoutesBuilder builder()
-
getDestination
public String getDestination()
Gets the destination for the route- Specified by:
getDestinationin interfaceExternalRoutes- Returns:
- the destination host for this host route
-
getNexthop
public String getNexthop()
Gets the NextHop for this route- Specified by:
getNexthopin interfaceExternalRoutes- Returns:
- the NextHop for this host route
-
toBuilder
public ExternalRoutesBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<ExternalRoutesBuilder>
-
-