org.jclouds.savvis.vpdc.domain
Class Network
java.lang.Object
org.jclouds.savvis.vpdc.domain.ResourceImpl
org.jclouds.savvis.vpdc.domain.Network
- All Implemented Interfaces:
- Comparable<Resource>, Resource
public class Network
- extends ResourceImpl
Various network features such NAT Public IP, Gateway and Netmask.
- Author:
- Adrian Cole
Network
public Network(String id,
String name,
String type,
URI href,
@Nullable
String gateway,
String netmask,
Map<String,String> internalToExternalNATRules)
builder
public static Network.Builder builder()
getGateway
public String getGateway()
- Returns:
- IP of the network's gateway
getNetmask
public String getNetmask()
- Returns:
- IP of the network's netmask
getInternalToExternalNATRules
public Map<String,String> getInternalToExternalNATRules()
- Returns:
- map of internal to external ip when it has any nat1to1 enabled deployed VApp
toBuilder
public Network.Builder toBuilder()
- Overrides:
toBuilder
in class ResourceImpl
toString
public String toString()
- Overrides:
toString
in class ResourceImpl
Copyright © 2009-2011 jclouds. All Rights Reserved.