public static class NetworkAdapter.Builder extends Object
Constructor and Description |
---|
NetworkAdapter.Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkAdapter |
build() |
NetworkAdapter.Builder |
macAddress(String macAddress) |
NetworkAdapter.Builder |
networkAttachmentType(org.virtualbox_4_1.NetworkAttachmentType networkAttachmentType) |
NetworkAdapter.Builder |
staticIp(String staticIp) |
NetworkAdapter.Builder |
tcpRedirectRule(String host,
int hostPort,
String guest,
int guestPort) |
NetworkAdapter.Builder |
udpRedirectRule(String host,
int hostPort,
String guest,
int guestPort) |
public NetworkAdapter.Builder networkAttachmentType(org.virtualbox_4_1.NetworkAttachmentType networkAttachmentType)
networkAttachmentType
- public NetworkAdapter.Builder macAddress(String macAddress)
macAddress
- public NetworkAdapter.Builder tcpRedirectRule(String host, int hostPort, String guest, int guestPort)
host
- incoming addresshostPort
- guest
- guest address or empty string for all addressesguestPort
- public NetworkAdapter.Builder udpRedirectRule(String host, int hostPort, String guest, int guestPort)
host
- incoming addresshostPort
- guest
- guest address or empty string for all addressesguestPort
- public NetworkAdapter.Builder staticIp(@Nullable String staticIp)
public NetworkAdapter build()
Copyright © 2009-2013 jclouds. All Rights Reserved.