Package org.jclouds.softlayer.domain
Class VirtualGuestNetworkComponent.Builder
- java.lang.Object
-
- org.jclouds.softlayer.domain.VirtualGuestNetworkComponent.Builder
-
- Enclosing class:
- VirtualGuestNetworkComponent
public static class VirtualGuestNetworkComponent.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
guestId
protected int
id
protected String
macAddress
protected int
maxSpeed
protected String
name
protected int
networkId
protected NetworkVlan
networkVlan
protected int
port
protected int
speed
protected String
status
protected String
uuid
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualGuestNetworkComponent
build()
VirtualGuestNetworkComponent.Builder
fromVirtualGuestNetworkComponent(VirtualGuestNetworkComponent in)
VirtualGuestNetworkComponent.Builder
guestId(int guestId)
VirtualGuestNetworkComponent.Builder
id(int id)
VirtualGuestNetworkComponent.Builder
macAddress(String macAddress)
VirtualGuestNetworkComponent.Builder
maxSpeed(int maxSpeed)
VirtualGuestNetworkComponent.Builder
networkId(int networkId)
VirtualGuestNetworkComponent.Builder
networkVlan(NetworkVlan networkVlan)
VirtualGuestNetworkComponent.Builder
port(int port)
VirtualGuestNetworkComponent.Builder
speed(int speed)
VirtualGuestNetworkComponent.Builder
status(String status)
VirtualGuestNetworkComponent.Builder
uuid(String uuid)
-
-
-
Field Detail
-
id
protected int id
-
uuid
protected String uuid
-
guestId
protected int guestId
-
networkId
protected int networkId
-
macAddress
protected String macAddress
-
maxSpeed
protected int maxSpeed
-
name
protected String name
-
port
protected int port
-
speed
protected int speed
-
status
protected String status
-
networkVlan
protected NetworkVlan networkVlan
-
-
Method Detail
-
id
public VirtualGuestNetworkComponent.Builder id(int id)
- See Also:
VirtualGuestNetworkComponent.getId()
-
uuid
public VirtualGuestNetworkComponent.Builder uuid(String uuid)
- See Also:
VirtualGuestNetworkComponent.getUuid()
-
guestId
public VirtualGuestNetworkComponent.Builder guestId(int guestId)
-
networkId
public VirtualGuestNetworkComponent.Builder networkId(int networkId)
-
macAddress
public VirtualGuestNetworkComponent.Builder macAddress(String macAddress)
-
maxSpeed
public VirtualGuestNetworkComponent.Builder maxSpeed(int maxSpeed)
-
port
public VirtualGuestNetworkComponent.Builder port(int port)
- See Also:
VirtualGuestNetworkComponent.getPort()
-
speed
public VirtualGuestNetworkComponent.Builder speed(int speed)
- See Also:
VirtualGuestNetworkComponent.getSpeed()
-
status
public VirtualGuestNetworkComponent.Builder status(String status)
-
networkVlan
public VirtualGuestNetworkComponent.Builder networkVlan(NetworkVlan networkVlan)
-
build
public VirtualGuestNetworkComponent build()
-
fromVirtualGuestNetworkComponent
public VirtualGuestNetworkComponent.Builder fromVirtualGuestNetworkComponent(VirtualGuestNetworkComponent in)
-
-