public class DescribeNetworkAclsRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeNetworkAclsRequest>
DescribeNetworkAcls operation
.
Gives you information about the network ACLs in your VPC. You can filter the results to return information only about ACLs that match criteria you specify. For example, you could get information only the ACL associated with a particular subnet. The ACL must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the ACL is associated with a particular subnet and has an egress entry that denies traffic to a particular port). The result includes information for a particular ACL only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk 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?\
.
Constructor and Description |
---|
DescribeNetworkAclsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DescribeNetworkAclsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
A list of filters used to match properties for Network ACLs.
|
List<String> |
getNetworkAclIds()
One or more network ACL IDs.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for Network ACLs.
|
void |
setNetworkAclIds(Collection<String> networkAclIds)
One or more network ACL IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeNetworkAclsRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match properties for Network ACLs.
|
DescribeNetworkAclsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for Network ACLs.
|
DescribeNetworkAclsRequest |
withNetworkAclIds(Collection<String> networkAclIds)
One or more network ACL IDs.
|
DescribeNetworkAclsRequest |
withNetworkAclIds(String... networkAclIds)
One or more network ACL IDs.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public List<String> getNetworkAclIds()
public void setNetworkAclIds(Collection<String> networkAclIds)
networkAclIds
- One or more network ACL IDs.public DescribeNetworkAclsRequest withNetworkAclIds(String... networkAclIds)
Returns a reference to this object so that method calls can be chained together.
networkAclIds
- One or more network ACL IDs.public DescribeNetworkAclsRequest withNetworkAclIds(Collection<String> networkAclIds)
Returns a reference to this object so that method calls can be chained together.
networkAclIds
- One or more network ACL IDs.public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- A list of filters used to match properties for Network ACLs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeNetworkAclsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for Network ACLs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeNetworkAclsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for Network ACLs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public Request<DescribeNetworkAclsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeNetworkAclsRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.