org.jclouds.cloudstack.domain
Class NetworkOffering.Builder<T extends NetworkOffering.Builder<T>>

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

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


Field Summary
protected  NetworkOfferingAvailabilityType availability
           
protected  Date created
           
protected  String displayText
           
protected  GuestIPType guestIPType
           
protected  String id
           
protected  boolean isDefault
           
protected  Integer maxConnections
           
protected  String name
           
protected  int networkRate
           
protected  boolean supportsVLAN
           
protected  String tags
           
protected  TrafficType trafficType
           
 
Constructor Summary
NetworkOffering.Builder()
           
 
Method Summary
 T availability(NetworkOfferingAvailabilityType availability)
           
 NetworkOffering build()
           
 T created(Date created)
           
 T displayText(String displayText)
           
 T fromNetworkOffering(NetworkOffering in)
           
 T guestIPType(GuestIPType guestIPType)
           
 T id(String id)
           
 T isDefault(boolean isDefault)
           
 T maxConnections(Integer maxConnections)
           
 T name(String name)
           
 T networkRate(int networkRate)
           
protected abstract  T self()
           
 T supportsVLAN(boolean supportsVLAN)
           
 T tags(String tags)
           
 T trafficType(TrafficType trafficType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

displayText

protected String displayText

created

protected Date created

availability

protected NetworkOfferingAvailabilityType availability

maxConnections

protected Integer maxConnections

isDefault

protected boolean isDefault

supportsVLAN

protected boolean supportsVLAN

trafficType

protected TrafficType trafficType

guestIPType

protected GuestIPType guestIPType

networkRate

protected int networkRate

tags

protected String tags
Constructor Detail

NetworkOffering.Builder

public NetworkOffering.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
NetworkOffering.getId()

name

public T name(String name)
See Also:
NetworkOffering.getName()

displayText

public T displayText(String displayText)
See Also:
NetworkOffering.getDisplayText()

created

public T created(Date created)
See Also:
NetworkOffering.getCreated()

availability

public T availability(NetworkOfferingAvailabilityType availability)
See Also:
NetworkOffering.getAvailability()

maxConnections

public T maxConnections(Integer maxConnections)
See Also:
NetworkOffering.getMaxConnections()

isDefault

public T isDefault(boolean isDefault)
See Also:
NetworkOffering.isDefault()

supportsVLAN

public T supportsVLAN(boolean supportsVLAN)
See Also:
NetworkOffering.supportsVLAN()

trafficType

public T trafficType(TrafficType trafficType)
See Also:
NetworkOffering.getTrafficType()

guestIPType

public T guestIPType(GuestIPType guestIPType)
See Also:
NetworkOffering.getGuestIPType()

networkRate

public T networkRate(int networkRate)
See Also:
NetworkOffering.getNetworkRate()

tags

public T tags(String tags)
See Also:
NetworkOffering.getTags()

build

public NetworkOffering build()

fromNetworkOffering

public T fromNetworkOffering(NetworkOffering in)


Copyright © 2009-2012 jclouds. All Rights Reserved.