Class PublicIPAddressPredicates
- java.lang.Object
-
- org.jclouds.cloudstack.predicates.PublicIPAddressPredicates
-
public class PublicIPAddressPredicates extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicIPAddressPredicates.AssociatedWithNetwork
static class
PublicIPAddressPredicates.Available
-
Constructor Summary
Constructors Constructor Description PublicIPAddressPredicates()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.base.Predicate<PublicIPAddress>
any()
static com.google.common.base.Predicate<PublicIPAddress>
associatedWithNetwork(String networkId)
static com.google.common.base.Predicate<PublicIPAddress>
available()
-
-
-
Method Detail
-
available
public static com.google.common.base.Predicate<PublicIPAddress> available()
- Returns:
- true, if the public ip address is not assigned to a VM or NAT rule
-
associatedWithNetwork
public static com.google.common.base.Predicate<PublicIPAddress> associatedWithNetwork(String networkId)
- Returns:
- true, if the public ip address is associated with the specified network
-
any
public static com.google.common.base.Predicate<PublicIPAddress> any()
- Returns:
- always returns true.
-
-