Package org.jclouds.cloudstack.domain
Class NetworkService.Builder<T extends NetworkService.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.NetworkService.Builder<T>
-
- Enclosing class:
- NetworkService
public abstract static class NetworkService.Builder<T extends NetworkService.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<NetworkService.Capability>
capabilities
protected String
name
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description NetworkService
build()
T
capabilities(Map<String,String> capabilities)
T
fromNetworkService(NetworkService in)
T
name(String name)
protected abstract T
self()
-
-
-
Field Detail
-
name
protected String name
-
capabilities
protected Set<NetworkService.Capability> capabilities
-
-
Method Detail
-
self
protected abstract T self()
-
name
public T name(String name)
- See Also:
NetworkService.getName()
-
capabilities
public T capabilities(Map<String,String> capabilities)
- See Also:
NetworkService.getCapabilities()
-
build
public NetworkService build()
-
fromNetworkService
public T fromNetworkService(NetworkService in)
-
-