public class DescribeRegionsResult extends Object implements Serializable
The result of describing the available Amazon EC2 regions.
Constructor and Description |
---|
DescribeRegionsResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.