@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLocationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A location is a network facility where AWS Direct Connect routers are available to be connected. Generally, these are colocation hubs where many network providers have equipment, and where cross connects can be delivered. Locations include a name and facility code, and must be provided when creating a connection.
Constructor and Description |
---|
DescribeLocationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLocationsResult |
clone() |
boolean |
equals(Object obj) |
List<Location> |
getLocations()
A list of colocation hubs where network providers have equipment.
|
int |
hashCode() |
void |
setLocations(Collection<Location> locations)
A list of colocation hubs where network providers have equipment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeLocationsResult |
withLocations(Collection<Location> locations)
A list of colocation hubs where network providers have equipment.
|
DescribeLocationsResult |
withLocations(Location... locations)
A list of colocation hubs where network providers have equipment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Location> getLocations()
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
public void setLocations(Collection<Location> locations)
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
locations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations
available.public DescribeLocationsResult withLocations(Location... locations)
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
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
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations
available.public DescribeLocationsResult withLocations(Collection<Location> locations)
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
locations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations
available.public String toString()
toString
in class Object
Object.toString()
public DescribeLocationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.