org.jclouds.softlayer.domain
Class Address.Builder<T extends Address.Builder<T>>
java.lang.Object
org.jclouds.softlayer.domain.Address.Builder<T>
- Enclosing class:
- Address
public abstract static class Address.Builder<T extends Address.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Address.Builder
public Address.Builder()
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()
fromAddress
public T fromAddress(Address in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.