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