org.jclouds.googlecomputeengine.domain.internal
Class NetworkAndAddressRange

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.internal.NetworkAndAddressRange

public class NetworkAndAddressRange
extends Object

Container for network, IPv4 range and optional gateway, for creation caching


Field Summary
protected  com.google.common.base.Optional<String> gateway
           
protected  String ipV4Range
           
protected  String name
           
 
Constructor Summary
NetworkAndAddressRange(String name, String ipV4Range, String gateway)
           
 
Method Summary
 boolean equals(Object obj)
           
 com.google.common.base.Optional<String> getGateway()
           
 String getIpV4Range()
           
 String getName()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

ipV4Range

protected final String ipV4Range

gateway

protected final com.google.common.base.Optional<String> gateway
Constructor Detail

NetworkAndAddressRange

@ConstructorProperties(value={"name","ipV4Range","gateway"})
public NetworkAndAddressRange(String name,
                                                         String ipV4Range,
                                                         @Nullable
                                                         String gateway)
Method Detail

getName

public String getName()

getIpV4Range

public String getIpV4Range()

getGateway

@Nullable
public com.google.common.base.Optional<String> getGateway()

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.