Package com.amazonaws.services.ec2.model
Class DescribeRegionsResult
java.lang.Object
com.amazonaws.services.ec2.model.DescribeRegionsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeRegions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about one or more regions.int
hashCode()
void
setRegions
(Collection<Region> regions) Information about one or more regions.toString()
Returns a string representation of this object; useful for testing and debugging.withRegions
(Region... regions) Information about one or more regions.withRegions
(Collection<Region> regions) Information about one or more regions.
-
Constructor Details
-
DescribeRegionsResult
public DescribeRegionsResult()
-
-
Method Details
-
getRegions
Information about one or more regions.
- Returns:
- Information about one or more regions.
-
setRegions
Information about one or more regions.
- Parameters:
regions
- Information about one or more regions.
-
withRegions
Information about one or more regions.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
orwithRegions(java.util.Collection)
if you want to override the existing values.- Parameters:
regions
- Information about one or more regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRegions
Information about one or more regions.
- Parameters:
regions
- Information about one or more regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-