@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRegionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeRegions.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Region> getRegions()
Information about one or more regions.
public void setRegions(Collection<Region> regions)
Information about one or more regions.
regions
- Information about one or more regions.public DescribeRegionsResult withRegions(Region... regions)
Information about one or more 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.
regions
- Information about one or more regions.public DescribeRegionsResult withRegions(Collection<Region> regions)
Information about one or more regions.
regions
- Information about one or more regions.public String toString()
toString
in class Object
Object.toString()
public DescribeRegionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.