Class Ip

java.lang.Object
org.jclouds.glesys.domain.Ip

public class Ip extends Object
Represents an ip address used by a server.
See Also:
  • Constructor Details

  • Method Details

    • builder

      public static Ip.Builder<?> builder()
    • toBuilder

      public Ip.Builder<?> toBuilder()
    • getIp

      public String getIp()
      Returns:
      the IP version, ex. 4
    • getVersion

      public int getVersion()
      Returns:
      the ip address of the new server
    • getCost

      public double getCost()
      Returns:
      the cost of the ip address allocated to the new server
      See Also:
    • getCurrency

      public String getCurrency()
      Returns:
      the currency of the cost
      See Also:
    • 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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object