|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.directconnect.model.Location
public class Location
An AWS Direct Connect location where connections and interconnects can be requested.
Constructor Summary | |
---|---|
Location()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getLocationCode()
The code used to indicate the AWS Direct Connect location. |
String |
getLocationName()
The name of the AWS Direct Connect location. |
int |
hashCode()
|
void |
setLocationCode(String locationCode)
The code used to indicate the AWS Direct Connect location. |
void |
setLocationName(String locationName)
The name of the AWS Direct Connect location. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Location |
withLocationCode(String locationCode)
The code used to indicate the AWS Direct Connect location. |
Location |
withLocationName(String locationName)
The name of the AWS Direct Connect location. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Location()
Method Detail |
---|
public String getLocationCode()
public void setLocationCode(String locationCode)
locationCode
- The code used to indicate the AWS Direct Connect location.public Location withLocationCode(String locationCode)
Returns a reference to this object so that method calls can be chained together.
locationCode
- The code used to indicate the AWS Direct Connect location.
public String getLocationName()
public void setLocationName(String locationName)
locationName
- The name of the AWS Direct Connect location. The name includes the
colocation partner name and the physical site of the lit building.public Location withLocationName(String locationName)
Returns a reference to this object so that method calls can be chained together.
locationName
- The name of the AWS Direct Connect location. The name includes the
colocation partner name and the physical site of the lit building.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |