|
|||||||
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.DescribeRegionsRequest
public class DescribeRegionsRequest
Container for the parameters to the DescribeRegions operation
.
The DescribeRegions operation describes regions zones that are currently available to the account.
AmazonEC2.describeRegions(DescribeRegionsRequest)
Constructor Summary | |
---|---|
DescribeRegionsRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<Filter> |
getFilters()
A list of filters used to match properties for Regions. |
List<String> |
getRegionNames()
The optional list of regions to describe. |
int |
hashCode()
|
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for Regions. |
void |
setRegionNames(Collection<String> regionNames)
The optional list of regions to describe. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeRegionsRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match properties for Regions. |
DescribeRegionsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for Regions. |
DescribeRegionsRequest |
withRegionNames(Collection<String> regionNames)
The optional list of regions to describe. |
DescribeRegionsRequest |
withRegionNames(String... regionNames)
The optional list of regions to describe. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeRegionsRequest()
Method Detail |
---|
public List<String> getRegionNames()
public void setRegionNames(Collection<String> regionNames)
regionNames
- The optional list of regions to describe.public DescribeRegionsRequest withRegionNames(String... regionNames)
Returns a reference to this object so that method calls can be chained together.
regionNames
- The optional list of regions to describe.
public DescribeRegionsRequest withRegionNames(Collection<String> regionNames)
Returns a reference to this object so that method calls can be chained together.
regionNames
- The optional list of regions to describe.
public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- A list of filters used to match properties for Regions. For a complete
reference to the available filter keys for this operation, see the Amazon
EC2 API reference.public DescribeRegionsRequest 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 Regions. For a complete
reference to the available filter keys for this operation, see the Amazon
EC2 API reference.
public DescribeRegionsRequest 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 Regions. For a complete
reference to the available filter keys for this operation, see the Amazon
EC2 API reference.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |