org.jclouds.softlayer.domain
Class Address
java.lang.Object
org.jclouds.softlayer.domain.Address
- All Implemented Interfaces:
- Comparable<Address>
public class Address
- extends Object
- implements Comparable<Address>
- Author:
- Jason King
- See Also:
Address
public Address(int id,
String country,
String state,
String description)
builder
public static Address.Builder builder()
compareTo
public int compareTo(Address arg0)
- Specified by:
compareTo
in interface Comparable<Address>
getId
public int getId()
- Returns:
- The unique id of the address.
getCountry
public String getCountry()
- Returns:
- The country of the address.
getState
public String getState()
- Returns:
- The state of the address.
getDescription
public String getDescription()
- Returns:
- The description of the address.
toBuilder
public Address.Builder toBuilder()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.