Class RouterInterface.Builder
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.RouterInterface.Builder
-
- Enclosing class:
- RouterInterface
public static class RouterInterface.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterInterfacebuild()RouterInterface.BuilderfromRouterInterface(RouterInterface in)RouterInterface.BuilderportId(String portId)Provide the portId to the RouterInterface's Builder.RouterInterface.BuildersubnetId(String subnetId)Provide the subnetId to the RouterInterface's Builder.
-
-
-
Method Detail
-
subnetId
public RouterInterface.Builder subnetId(String subnetId)
Provide the subnetId to the RouterInterface's Builder.- Returns:
- the Builder.
- See Also:
RouterInterface.getSubnetId()
-
portId
public RouterInterface.Builder portId(String portId)
Provide the portId to the RouterInterface's Builder.- Returns:
- the Builder.
- See Also:
RouterInterface.getPortId()
-
build
public RouterInterface build()
- Returns:
- a RouterInterface constructed with this Builder.
-
fromRouterInterface
public RouterInterface.Builder fromRouterInterface(RouterInterface in)
- Returns:
- a Builder from another RouterInterface.
-
-