Package org.jclouds.cloudstack.domain
Class NetworkOffering.Builder<T extends NetworkOffering.Builder<T>>
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description 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 com.google.common.collect.ImmutableSet.Builder<String>
tags
protected TrafficType
trafficType
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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
tag(String tag)
T
tags(Iterable<String> tags)
T
trafficType(TrafficType trafficType)
-
-
-
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 com.google.common.collect.ImmutableSet.Builder<String> tags
-
-
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(Iterable<String> tags)
- See Also:
NetworkOffering.getTags()
-
tag
public T tag(String tag)
- See Also:
NetworkOffering.getTags()
-
build
public NetworkOffering build()
-
fromNetworkOffering
public T fromNetworkOffering(NetworkOffering in)
-
-