@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Location extends Object implements Serializable, Cloneable, StructuredPojo
Information about an AWS Direct Connect location.
| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
Location |
clone() |
boolean |
equals(Object obj) |
String |
getLocationCode()
The code for the location.
|
String |
getLocationName()
The name of the location.
|
String |
getRegion()
The AWS Region for the location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLocationCode(String locationCode)
The code for the location.
|
void |
setLocationName(String locationName)
The name of the location.
|
void |
setRegion(String region)
The AWS Region for the location.
|
String |
toString()
Returns a string representation of this object.
|
Location |
withLocationCode(String locationCode)
The code for the location.
|
Location |
withLocationName(String locationName)
The name of the location.
|
Location |
withRegion(String region)
The AWS Region for the location.
|
public void setLocationCode(String locationCode)
The code for the location.
locationCode - The code for the location.public String getLocationCode()
The code for the location.
public Location withLocationCode(String locationCode)
The code for the location.
locationCode - The code for the location.public void setLocationName(String locationName)
The name of the location. This includes the name of the colocation partner and the physical site of the building.
locationName - The name of the location. This includes the name of the colocation partner and the physical site of the
building.public String getLocationName()
The name of the location. This includes the name of the colocation partner and the physical site of the building.
public Location withLocationName(String locationName)
The name of the location. This includes the name of the colocation partner and the physical site of the building.
locationName - The name of the location. This includes the name of the colocation partner and the physical site of the
building.public void setRegion(String region)
The AWS Region for the location.
region - The AWS Region for the location.public String getRegion()
The AWS Region for the location.
public Location withRegion(String region)
The AWS Region for the location.
region - The AWS Region for the location.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.