org.jclouds.vcloud.director.v1_5.domain.network
Class IpScope
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.network.IpScope
public class IpScope
- extends Object
Specify network settings like gateway, network mask, DNS servers, IP ranges, etc.
- Author:
- danikov
IpScope
public IpScope(boolean inherited,
String gateway,
String netmask,
String dns1,
String dns2,
String dnsSuffix,
IpRanges ipRanges,
IpAddresses allocatedIpAddresses)
builder
public static IpScope.Builder builder()
toBuilder
public IpScope.Builder toBuilder()
isInherited
public boolean isInherited()
- Returns:
- True if the IP scope is inherit from parent network.
getGateway
public String getGateway()
- Returns:
- Gateway of the network..
getNetmask
public String getNetmask()
- Returns:
- Network mask.
getDns1
public String getDns1()
- Returns:
- Primary DNS server.
getDns2
public String getDns2()
- Returns:
- Secondary DNS server.
getDnsSuffix
public String getDnsSuffix()
- Returns:
- DNS suffix.
getIpRanges
public IpRanges getIpRanges()
- Returns:
- IP ranges used for static pool allocation in the network.
getAllocatedIpAddresses
public IpAddresses getAllocatedIpAddresses()
- Returns:
- Read-only list of allocated IP addresses in the network.
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.