public class DescribeLocationsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeLocationsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeLocationsResult |
clone() |
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)
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.
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 ObjectObject.toString()public DescribeLocationsResult clone()
Copyright © 2015. All rights reserved.