org.jclouds.vcloud.director.v1_5.domain.network
Class IpScope

java.lang.Object
  extended by 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

Nested Class Summary
static class IpScope.Builder
           
 
Constructor Summary
IpScope(boolean inherited, String gateway, String netmask, String dns1, String dns2, String dnsSuffix, IpRanges ipRanges, IpAddresses allocatedIpAddresses)
           
 
Method Summary
static IpScope.Builder builder()
           
 boolean equals(Object o)
           
 IpAddresses getAllocatedIpAddresses()
           
 String getDns1()
           
 String getDns2()
           
 String getDnsSuffix()
           
 String getGateway()
           
 IpRanges getIpRanges()
           
 String getNetmask()
           
 int hashCode()
           
 boolean isInherited()
           
 IpScope.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IpScope

public IpScope(boolean inherited,
               String gateway,
               String netmask,
               String dns1,
               String dns2,
               String dnsSuffix,
               IpRanges ipRanges,
               IpAddresses allocatedIpAddresses)
Method Detail

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.