public class DescribeRegionsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeRegionsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeRegionsResult |
clone() |
boolean |
equals(Object obj) |
List<Region> |
getRegions()
Information about one or more regions.
|
int |
hashCode() |
void |
setRegions(Collection<Region> regions)
Information about one or more regions.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeRegionsResult |
withRegions(Collection<Region> regions)
Information about one or more regions.
|
DescribeRegionsResult |
withRegions(Region... regions)
Information about one or more regions.
|
public List<Region> getRegions()
public void setRegions(Collection<Region> regions)
regions - Information about one or more regions.public DescribeRegionsResult withRegions(Region... regions)
NOTE: This method appends the values to the existing list (if
any). Use setRegions(java.util.Collection) or withRegions(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
regions - Information about one or more regions.public DescribeRegionsResult withRegions(Collection<Region> regions)
Returns a reference to this object so that method calls can be chained together.
regions - Information about one or more regions.public String toString()
toString in class ObjectObject.toString()public DescribeRegionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.