Class PublicIPAddressPredicates
java.lang.Object
org.jclouds.cloudstack.predicates.PublicIPAddressPredicates
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Predicate
<PublicIPAddress> any()
static com.google.common.base.Predicate
<PublicIPAddress> associatedWithNetwork
(String networkId) static com.google.common.base.Predicate
<PublicIPAddress>
-
Constructor Details
-
PublicIPAddressPredicates
public PublicIPAddressPredicates()
-
-
Method Details
-
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
- Returns:
- always returns true.
-