org.jclouds.softlayer.domain
Class Address
java.lang.Object
org.jclouds.softlayer.domain.Address
public class Address
- extends Object
Class Address
- See Also:
|
Constructor Summary |
protected |
Address(int id,
String country,
String state,
String description,
int accountId,
String address,
String city,
String contactName,
int isActive,
int locationId,
String postalCode)
|
Address
@ConstructorProperties(value={"id","country","state","description","accountId","address1","city","contactName","isActive","locationId","postalCode"})
protected Address(int id,
String country,
@Nullable
String state,
@Nullable
String description,
int accountId,
@Nullable
String address,
@Nullable
String city,
@Nullable
String contactName,
int isActive,
int locationId,
@Nullable
String postalCode)
builder
public static Address.Builder<?> builder()
toBuilder
public Address.Builder<?> toBuilder()
getId
public int getId()
- Returns:
- The unique id of the address.
getCountry
public String getCountry()
- Returns:
- The country of the address.
getState
@Nullable
public String getState()
- Returns:
- The state of the address.
getDescription
@Nullable
public String getDescription()
- Returns:
- The description of the address.
getAccountId
@Nullable
public int getAccountId()
- Returns:
- The id of the account.
getAddress1
@Nullable
public String getAddress1()
- Returns:
- The value of the address.
getCity
@Nullable
public String getCity()
- Returns:
- The name of the city.
getContactName
@Nullable
public String getContactName()
- Returns:
- The name of the contact.
isActive
@Nullable
public int isActive()
- Returns:
- The name of the contact.
getLocationId
@Nullable
public int getLocationId()
- Returns:
- The id of the location.
getPostalCode
@Nullable
public String getPostalCode()
- Returns:
- The postal code of the address.
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-2014 The Apache Software Foundation. All Rights Reserved.