Class Location
java.lang.Object
com.amazonaws.services.directconnect.model.Location
- All Implemented Interfaces:
Serializable, Cloneable
An AWS Direct Connect location where connections and interconnects can be requested.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe code used to indicate the AWS Direct Connect location.The name of the AWS Direct Connect location.inthashCode()voidsetLocationCode(String locationCode) The code used to indicate the AWS Direct Connect location.voidsetLocationName(String locationName) The name of the AWS Direct Connect location.toString()Returns a string representation of this object; useful for testing and debugging.withLocationCode(String locationCode) The code used to indicate the AWS Direct Connect location.withLocationName(String locationName) The name of the AWS Direct Connect location.
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
setLocationCode
The code used to indicate the AWS Direct Connect location.
- Parameters:
locationCode- The code used to indicate the AWS Direct Connect location.
-
getLocationCode
The code used to indicate the AWS Direct Connect location.
- Returns:
- The code used to indicate the AWS Direct Connect location.
-
withLocationCode
-
setLocationName
The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.
- Parameters:
locationName- The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.
-
getLocationName
The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.
- Returns:
- The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.
-
withLocationName
The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.
- Parameters:
locationName- The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-