org.jclouds.cloudstack.domain
Class VlanIPRange

java.lang.Object
  extended by org.jclouds.cloudstack.domain.VlanIPRange
All Implemented Interfaces:
Comparable<VlanIPRange>

public class VlanIPRange
extends Object
implements Comparable<VlanIPRange>

Represents the data object used in CloudStack's "Vlan" API.

Author:
Richard Downer

Nested Class Summary
static class VlanIPRange.Builder<T extends VlanIPRange.Builder<T>>
           
 
Constructor Summary
protected VlanIPRange(String id, String description, boolean forVirtualNetwork, String zoneId, String vlan, String account, String domainId, String domain, String podId, String podName, String gateway, String netmask, String startIP, String endIP, String networkId)
           
 
Method Summary
static VlanIPRange.Builder<?> builder()
           
 int compareTo(VlanIPRange other)
           
 boolean equals(Object obj)
           
 String getAccount()
           
 String getDescription()
           
 String getDomain()
           
 String getDomainId()
           
 String getEndIP()
           
 String getGateway()
           
 String getId()
           
 String getNetmask()
           
 String getNetworkId()
           
 String getPodId()
           
 String getPodName()
           
 String getStartIP()
           
 String getVlan()
           
 String getZoneId()
           
 int hashCode()
           
 boolean isForVirtualNetwork()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 VlanIPRange.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VlanIPRange

@ConstructorProperties(value={"id","description","forvirtualnetwork","zoneid","vlan","account","domainid","domain","podid","podname","gateway","netmask","startip","endip","networkid"})
protected VlanIPRange(String id,
                                                 @Nullable
                                                 String description,
                                                 boolean forVirtualNetwork,
                                                 @Nullable
                                                 String zoneId,
                                                 @Nullable
                                                 String vlan,
                                                 @Nullable
                                                 String account,
                                                 @Nullable
                                                 String domainId,
                                                 @Nullable
                                                 String domain,
                                                 @Nullable
                                                 String podId,
                                                 @Nullable
                                                 String podName,
                                                 @Nullable
                                                 String gateway,
                                                 @Nullable
                                                 String netmask,
                                                 @Nullable
                                                 String startIP,
                                                 @Nullable
                                                 String endIP,
                                                 @Nullable
                                                 String networkId)
Method Detail

builder

public static VlanIPRange.Builder<?> builder()

toBuilder

public VlanIPRange.Builder<?> toBuilder()

getId

public String getId()

getDescription

@Nullable
public String getDescription()

isForVirtualNetwork

public boolean isForVirtualNetwork()

getZoneId

@Nullable
public String getZoneId()

getVlan

@Nullable
public String getVlan()

getAccount

@Nullable
public String getAccount()

getDomainId

@Nullable
public String getDomainId()

getDomain

@Nullable
public String getDomain()

getPodId

@Nullable
public String getPodId()

getPodName

@Nullable
public String getPodName()

getGateway

@Nullable
public String getGateway()

getNetmask

@Nullable
public String getNetmask()

getStartIP

@Nullable
public String getStartIP()

getEndIP

@Nullable
public String getEndIP()

getNetworkId

@Nullable
public String getNetworkId()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(VlanIPRange other)
Specified by:
compareTo in interface Comparable<VlanIPRange>


Copyright © 2009-2012 jclouds. All Rights Reserved.