|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.DescribeRegionsResult
public class DescribeRegionsResult
The result of describing the available Amazon EC2 regions.
Constructor Summary | |
---|---|
DescribeRegionsResult()
|
Method Summary | |
---|---|
List<Region> |
getRegions()
The list of described Amazon EC2 regions. |
void |
setRegions(Collection<Region> regions)
The list of described Amazon EC2 regions. |
String |
toString()
|
DescribeRegionsResult |
withRegions(Collection<Region> regions)
The list of described Amazon EC2 regions. |
DescribeRegionsResult |
withRegions(Region... regions)
The list of described Amazon EC2 regions. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeRegionsResult()
Method Detail |
---|
public List<Region> getRegions()
public void setRegions(Collection<Region> regions)
regions
- The list of described Amazon EC2 regions.public DescribeRegionsResult withRegions(Region... regions)
Returns a reference to this object so that method calls can be chained together.
regions
- The list of described Amazon EC2 regions.
public DescribeRegionsResult withRegions(Collection<Region> regions)
Returns a reference to this object so that method calls can be chained together.
regions
- The list of described Amazon EC2 regions.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |