@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Location extends Object implements Serializable, Cloneable, StructuredPojo
An AWS Direct Connect location where connections and interconnects can be requested.
| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
Location |
clone() |
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.
|
String |
getRegion()
The AWS region where the AWS Direct connect location is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
void |
setRegion(String region)
The AWS region where the AWS Direct connect location is located.
|
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.
|
Location |
withRegion(String region)
The AWS region where the AWS Direct connect location is located.
|
public void setLocationCode(String locationCode)
The code used to indicate the AWS Direct Connect location.
locationCode - The code used to indicate the AWS Direct Connect location.public String getLocationCode()
The code used to indicate the AWS Direct Connect location.
public Location withLocationCode(String locationCode)
The code used to indicate the AWS Direct Connect location.
locationCode - The code used to indicate the AWS Direct Connect location.public void setLocationName(String locationName)
The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.
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 getLocationName()
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)
The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.
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 void setRegion(String region)
The AWS region where the AWS Direct connect location is located.
Example: us-east-1
Default: None
region - The AWS region where the AWS Direct connect location is located.
Example: us-east-1
Default: None
public String getRegion()
The AWS region where the AWS Direct connect location is located.
Example: us-east-1
Default: None
Example: us-east-1
Default: None
public Location withRegion(String region)
The AWS region where the AWS Direct connect location is located.
Example: us-east-1
Default: None
region - The AWS region where the AWS Direct connect location is located.
Example: us-east-1
Default: None
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.