|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeVpcsRequest
public class DescribeVpcsRequest
Container for the parameters to the DescribeVpcs operation
.
Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify. For example, you could ask to get information about a particular VPC or VPCs (or all your VPCs) only if the VPC's state is available. You can specify multiple filters (e.g., the VPC uses one of several sets of DHCP options, and the VPC's state is available). The result includes information for a particular VPC only if the VPC matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
AmazonEC2.describeVpcs(DescribeVpcsRequest)
Constructor Summary | |
---|---|
DescribeVpcsRequest()
|
Method Summary | |
---|---|
List<Filter> |
getFilters()
|
List<String> |
getVpcIds()
A set of one or more IDs of VPCs to describe. |
void |
setFilters(Collection<Filter> filters)
|
void |
setVpcIds(Collection<String> vpcIds)
A set of one or more IDs of VPCs to describe. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeVpcsRequest |
withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together. |
DescribeVpcsRequest |
withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together. |
DescribeVpcsRequest |
withVpcIds(Collection<String> vpcIds)
A set of one or more IDs of VPCs to describe. |
DescribeVpcsRequest |
withVpcIds(String... vpcIds)
A set of one or more IDs of VPCs to describe. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeVpcsRequest()
Method Detail |
---|
public List<String> getVpcIds()
public void setVpcIds(Collection<String> vpcIds)
vpcIds
- A set of one or more IDs of VPCs to describe.public DescribeVpcsRequest withVpcIds(String... vpcIds)
Returns a reference to this object so that method calls can be chained together.
vpcIds
- A set of one or more IDs of VPCs to describe.
public DescribeVpcsRequest withVpcIds(Collection<String> vpcIds)
Returns a reference to this object so that method calls can be chained together.
vpcIds
- A set of one or more IDs of VPCs to describe.
public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- public DescribeVpcsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
-
public DescribeVpcsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
-
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |