@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLocationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeLocationsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeLocationsResult |
clone() |
boolean |
equals(Object obj) |
List<Location> |
getLocations()
The locations.
|
int |
hashCode() |
void |
setLocations(Collection<Location> locations)
The locations.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLocationsResult |
withLocations(Collection<Location> locations)
The locations.
|
DescribeLocationsResult |
withLocations(Location... locations)
The locations.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setLocations(Collection<Location> locations)
The locations.
locations - The locations.public DescribeLocationsResult withLocations(Location... locations)
The locations.
NOTE: This method appends the values to the existing list (if any). Use
setLocations(java.util.Collection) or withLocations(java.util.Collection) if you want to
override the existing values.
locations - The locations.public DescribeLocationsResult withLocations(Collection<Location> locations)
The locations.
locations - The locations.public String toString()
toString in class ObjectObject.toString()public DescribeLocationsResult clone()