Package org.jclouds.softlayer.domain
Class Address.Builder<T extends Address.Builder<T>>
- java.lang.Object
 - 
- org.jclouds.softlayer.domain.Address.Builder<T>
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected intaccountIdprotected Stringaddressprotected Stringcityprotected StringcontactNameprotected Stringcountryprotected Stringdescriptionprotected intidprotected intisActiveprotected intlocationIdprotected StringpostalCodeprotected Stringstate 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TaccountId(int accountId)Taddress(String address)Addressbuild()Tcity(String city)TcontactName(String contactName)Tcountry(String country)Tdescription(String description)TfromAddress(Address in)Tid(int id)TisActive(int isActive)TlocationId(int locationId)TpostalCode(String postalCode)protected abstract Tself()Tstate(String state) 
 - 
 
- 
- 
Field Detail
- 
id
protected int id
 
- 
country
protected String country
 
- 
state
protected String state
 
- 
description
protected String description
 
- 
accountId
protected int accountId
 
- 
address
protected String address
 
- 
city
protected String city
 
- 
contactName
protected String contactName
 
- 
isActive
protected int isActive
 
- 
locationId
protected int locationId
 
- 
postalCode
protected String postalCode
 
 - 
 
- 
Method Detail
- 
self
protected abstract T self()
 
- 
id
public T id(int id)
- See Also:
 Address.getId()
 
- 
country
public T country(String country)
- See Also:
 Address.getCountry()
 
- 
state
public T state(String state)
- See Also:
 Address.getState()
 
- 
description
public T description(String description)
- See Also:
 Address.getDescription()
 
- 
accountId
public T accountId(int accountId)
- See Also:
 Address.getAccountId()
 
- 
address
public T address(String address)
- See Also:
 Address.getAddress1()
 
- 
city
public T city(String city)
- See Also:
 Address.getCity()
 
- 
contactName
public T contactName(String contactName)
- See Also:
 Address.getContactName()
 
- 
isActive
public T isActive(int isActive)
- See Also:
 Address.isActive()
 
- 
locationId
public T locationId(int locationId)
- See Also:
 Address.getLocationId()
 
- 
postalCode
public T postalCode(String postalCode)
- See Also:
 Address.getPostalCode()
 
- 
build
public Address build()
 
 - 
 
 -