public class DescribeRegionsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeRegions.
Constructor and Description |
---|
DescribeRegionsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Region> |
getRegions()
Information about one or more regions.
|
int |
hashCode() |
void |
setRegions(java.util.Collection<Region> regions)
Information about one or more regions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeRegionsResult |
withRegions(java.util.Collection<Region> regions)
Information about one or more regions.
|
DescribeRegionsResult |
withRegions(Region... regions)
Information about one or more regions.
|
public java.util.List<Region> getRegions()
public void setRegions(java.util.Collection<Region> regions)
regions
- Information about one or more regions.public DescribeRegionsResult withRegions(Region... regions)
Returns a reference to this object so that method calls can be chained together.
regions
- Information about one or more regions.public DescribeRegionsResult withRegions(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.