com.amazonaws.services.directconnect.model
Class Location

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.Location
All Implemented Interfaces:
Serializable

public class Location
extends Object
implements Serializable

An AWS Direct Connect location where connections and interconnects can be requested.

See Also:
Serialized Form

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

Location

public Location()
Method Detail

getLocationCode

public String getLocationCode()
The code used to indicate the AWS Direct Connect location.

Returns:
The code used to indicate the AWS Direct Connect location.

setLocationCode

public void setLocationCode(String locationCode)
The code used to indicate the AWS Direct Connect location.

Parameters:
locationCode - The code used to indicate the AWS Direct Connect location.

withLocationCode

public Location withLocationCode(String locationCode)
The code used to indicate the AWS Direct Connect location.

Returns a reference to this object so that method calls can be chained together.

Parameters:
locationCode - The code used to indicate the AWS Direct Connect location.
Returns:
A reference to this updated object so that method calls can be chained together.

getLocationName

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.

Returns:
The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.

setLocationName

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.

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.

withLocationName

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.