Package org.jclouds.ec2.util
Class SubnetFilterBuilder
public class SubnetFilterBuilder
extends com.google.common.collect.ImmutableMultimap.Builder<String,String>
You can specify filters so that the response includes information for only
certain subnets. For example, you can use a filter to specify that you're
interested in the subnets in the available state. You can specify multiple
values for a filter. The response includes information for a subnet only if
it matches at least one of the filter values that you specified.
You can specify multiple filters; for example, specify subnets that are in a
specific VPC and are in the available state. The response includes
information for a subnet only if it matches all the filters that you
specified. If there's no match, no special message is returned, the response
is simply empty.
Wildcards
You can use wildcards with the filter values:*
matches zero or more characters, and ? matches exactly one character. You can
escape special characters using a backslash before the character. For
example, a value of \*amazon\?\\ searches for the literal string
*amazon?\.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanyCidr()anyState()anyVpcId()arbitraryTag(String arbitraryTagKey, Iterable<String> arbitraryTagValues) arbitraryTag(String arbitraryTagKey, String arbitraryTagValue) arbitraryTag(String arbitraryTagKey, String... arbitraryTagValues) availabilityZone(String availabilityZone) availabilityZones(Iterable<String> availabilityZones) availabilityZones(String... availabilityZones) availableIpAddressCount(String availableIpAddressCount) availableIpAddressCounts(Iterable<String> availableIpAddressCounts) availableIpAddressCounts(String... availableIpAddressCounts) orderKeysBy(Comparator<? super String> keyComparator) orderValuesBy(Comparator<? super String> valueComparator) pending()Methods inherited from class com.google.common.collect.ImmutableMultimap.Builder
build, putAll
-
Constructor Details
-
SubnetFilterBuilder
public SubnetFilterBuilder()
-
-
Method Details
-
availabilityZone
-
availabilityZones
-
availabilityZones
-
anyAvailabilityZone
-
availableIpAddressCount
-
availableIpAddressCounts
-
availableIpAddressCounts
-
anyAvailableIpAddressCount
-
cidr
-
cidrs
-
cidrs
-
anyCidr
-
state
-
states
-
states
-
anyState
-
available
-
pending
-
subnetId
-
subnetIds
-
subnetIds
-
anySubnetId
-
tagKey
-
tagKeys
-
tagKeys
-
anyTagKey
-
tagValue
-
tagValues
-
tagValues
-
anyTagValue
-
vpcId
-
vpcIds
-
vpcIds
-
anyVpcId
-
arbitraryTag
-
arbitraryTag
-
arbitraryTag
public SubnetFilterBuilder arbitraryTag(String arbitraryTagKey, Iterable<String> arbitraryTagValues) -
put
-
put
-
putAll
-
putAll
-
putAll
public SubnetFilterBuilder putAll(com.google.common.collect.Multimap<? extends String, ? extends String> multimap) -
orderKeysBy
-
orderValuesBy
-