Class DescribeLocationsResult
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.toString()
Returns a string representation of this object; useful for testing and debugging.withLocations
(Location... locations) A list of colocation hubs where network providers have equipment.withLocations
(Collection<Location> locations) A list of colocation hubs where network providers have equipment.
-
Constructor Details
-
DescribeLocationsResult
public DescribeLocationsResult()
-
-
Method Details
-
getLocations
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
- Returns:
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
-
setLocations
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
- Parameters:
locations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
-
withLocations
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)
orwithLocations(java.util.Collection)
if you want to override the existing values.- Parameters:
locations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLocations
A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.
- Parameters:
locations
- A list of colocation hubs where network providers have equipment. Most regions have multiple locations available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-