org.jclouds.softlayer.domain
Class Address.Builder<T extends Address.Builder<T>>

java.lang.Object
  extended by org.jclouds.softlayer.domain.Address.Builder<T>
Enclosing class:
Address

public abstract static class Address.Builder<T extends Address.Builder<T>>
extends Object


Field Summary
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
Address.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

Address.Builder

public Address.Builder()
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()

fromAddress

public T fromAddress(Address in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.