public class DescribeLocationsResult extends Object implements Serializable
Constructor and Description |
---|
DescribeLocationsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Location> |
getLocations()
Returns the value of the Locations property for this object.
|
int |
hashCode() |
void |
setLocations(Collection<Location> locations)
Sets the value of the Locations property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLocationsResult |
withLocations(Collection<Location> locations)
Sets the value of the Locations property for this object.
|
DescribeLocationsResult |
withLocations(Location... locations)
Sets the value of the Locations property for this object.
|
public List<Location> getLocations()
public void setLocations(Collection<Location> locations)
locations
- The new value for the Locations property for this object.public DescribeLocationsResult withLocations(Location... locations)
Returns a reference to this object so that method calls can be chained together.
locations
- The new value for the Locations property for this object.public DescribeLocationsResult withLocations(Collection<Location> locations)
Returns a reference to this object so that method calls can be chained together.
locations
- The new value for the Locations property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.