Package org.jclouds.cloudstack.functions
Class StaticNATVirtualMachineInNetwork
- java.lang.Object
-
- org.jclouds.cloudstack.functions.StaticNATVirtualMachineInNetwork
-
- All Implemented Interfaces:
com.google.common.base.Function<VirtualMachine,PublicIPAddress>
,Function<VirtualMachine,PublicIPAddress>
public class StaticNATVirtualMachineInNetwork extends Object implements com.google.common.base.Function<VirtualMachine,PublicIPAddress>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StaticNATVirtualMachineInNetwork.Factory
-
Constructor Summary
Constructors Constructor Description StaticNATVirtualMachineInNetwork(CloudStackApi client, ReuseOrAssociateNewPublicIPAddress reuseOrAssociate, Network network)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicIPAddress
apply(VirtualMachine vm)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Constructor Detail
-
StaticNATVirtualMachineInNetwork
@Inject public StaticNATVirtualMachineInNetwork(CloudStackApi client, ReuseOrAssociateNewPublicIPAddress reuseOrAssociate, Network network)
-
-
Method Detail
-
apply
public PublicIPAddress apply(VirtualMachine vm)
- Specified by:
apply
in interfacecom.google.common.base.Function<VirtualMachine,PublicIPAddress>
- Specified by:
apply
in interfaceFunction<VirtualMachine,PublicIPAddress>
-
-