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 int
accountId
protected String
address
protected String
city
protected String
contactName
protected String
country
protected String
description
protected int
id
protected int
isActive
protected int
locationId
protected String
postalCode
protected String
state
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
accountId(int accountId)
T
address(String address)
Address
build()
T
city(String city)
T
contactName(String contactName)
T
country(String country)
T
description(String description)
T
fromAddress(Address in)
T
id(int id)
T
isActive(int isActive)
T
locationId(int locationId)
T
postalCode(String postalCode)
protected abstract T
self()
T
state(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()
-
-