org.jclouds.trmk.vcloud_0_8.domain
Class InternetService

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.domain.InternetService
All Implemented Interfaces:
Comparable<InternetService>

public class InternetService
extends Object
implements Comparable<InternetService>

Author:
Adrian Cole

Constructor Summary
InternetService(String name, URI id, PublicIpAddress publicIpAddress, int port, Protocol protocol, boolean enabled, int timeout, String description)
           
 
Method Summary
 int compareTo(InternetService that)
           
 boolean equals(Object obj)
           
 String getDescription()
           
 URI getId()
           
 String getName()
           
 int getPort()
           
 Protocol getProtocol()
           
 PublicIpAddress getPublicIpAddress()
           
 int getTimeout()
           
 int hashCode()
           
 boolean isEnabled()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternetService

public InternetService(String name,
                       URI id,
                       PublicIpAddress publicIpAddress,
                       int port,
                       Protocol protocol,
                       boolean enabled,
                       int timeout,
                       String description)
Method Detail

getPublicIpAddress

public PublicIpAddress getPublicIpAddress()

getPort

public int getPort()

getProtocol

public Protocol getProtocol()

isEnabled

public boolean isEnabled()

getTimeout

public int getTimeout()

getDescription

public String getDescription()

getName

public String getName()

getId

public URI getId()

compareTo

public int compareTo(InternetService that)
Specified by:
compareTo in interface Comparable<InternetService>

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2009-2011 jclouds. All Rights Reserved.