|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
List<Region> |
getRegions()
The list of described Amazon EC2 regions. |
int |
hashCode()
|
void |
setRegions(Collection<Region> regions)
The list of described Amazon EC2 regions. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
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 |
---|
getClass, 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
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 |