@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Location extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Direct Connect location.
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
Location |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailableMacSecPortSpeeds()
The available MAC Security (MACsec) port speeds for the location.
|
List<String> |
getAvailablePortSpeeds()
The available port speeds for the location.
|
List<String> |
getAvailableProviders()
The name of the service provider for the location.
|
String |
getLocationCode()
The code for the location.
|
String |
getLocationName()
The name of the location.
|
String |
getRegion()
The Amazon Web Services Region for the location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailableMacSecPortSpeeds(Collection<String> availableMacSecPortSpeeds)
The available MAC Security (MACsec) port speeds for the location.
|
void |
setAvailablePortSpeeds(Collection<String> availablePortSpeeds)
The available port speeds for the location.
|
void |
setAvailableProviders(Collection<String> availableProviders)
The name of the service provider for the location.
|
void |
setLocationCode(String locationCode)
The code for the location.
|
void |
setLocationName(String locationName)
The name of the location.
|
void |
setRegion(String region)
The Amazon Web Services Region for the location.
|
String |
toString()
Returns a string representation of this object.
|
Location |
withAvailableMacSecPortSpeeds(Collection<String> availableMacSecPortSpeeds)
The available MAC Security (MACsec) port speeds for the location.
|
Location |
withAvailableMacSecPortSpeeds(String... availableMacSecPortSpeeds)
The available MAC Security (MACsec) port speeds for the location.
|
Location |
withAvailablePortSpeeds(Collection<String> availablePortSpeeds)
The available port speeds for the location.
|
Location |
withAvailablePortSpeeds(String... availablePortSpeeds)
The available port speeds for the location.
|
Location |
withAvailableProviders(Collection<String> availableProviders)
The name of the service provider for the location.
|
Location |
withAvailableProviders(String... availableProviders)
The name of the service provider for the location.
|
Location |
withLocationCode(String locationCode)
The code for the location.
|
Location |
withLocationName(String locationName)
The name of the location.
|
Location |
withRegion(String region)
The Amazon Web Services 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 Amazon Web Services Region for the location.
region
- The Amazon Web Services Region for the location.public String getRegion()
The Amazon Web Services Region for the location.
public Location withRegion(String region)
The Amazon Web Services Region for the location.
region
- The Amazon Web Services Region for the location.public List<String> getAvailablePortSpeeds()
The available port speeds for the location.
public void setAvailablePortSpeeds(Collection<String> availablePortSpeeds)
The available port speeds for the location.
availablePortSpeeds
- The available port speeds for the location.public Location withAvailablePortSpeeds(String... availablePortSpeeds)
The available port speeds for the location.
NOTE: This method appends the values to the existing list (if any). Use
setAvailablePortSpeeds(java.util.Collection)
or withAvailablePortSpeeds(java.util.Collection)
if you want to override the existing values.
availablePortSpeeds
- The available port speeds for the location.public Location withAvailablePortSpeeds(Collection<String> availablePortSpeeds)
The available port speeds for the location.
availablePortSpeeds
- The available port speeds for the location.public List<String> getAvailableProviders()
The name of the service provider for the location.
public void setAvailableProviders(Collection<String> availableProviders)
The name of the service provider for the location.
availableProviders
- The name of the service provider for the location.public Location withAvailableProviders(String... availableProviders)
The name of the service provider for the location.
NOTE: This method appends the values to the existing list (if any). Use
setAvailableProviders(java.util.Collection)
or withAvailableProviders(java.util.Collection)
if
you want to override the existing values.
availableProviders
- The name of the service provider for the location.public Location withAvailableProviders(Collection<String> availableProviders)
The name of the service provider for the location.
availableProviders
- The name of the service provider for the location.public List<String> getAvailableMacSecPortSpeeds()
The available MAC Security (MACsec) port speeds for the location.
public void setAvailableMacSecPortSpeeds(Collection<String> availableMacSecPortSpeeds)
The available MAC Security (MACsec) port speeds for the location.
availableMacSecPortSpeeds
- The available MAC Security (MACsec) port speeds for the location.public Location withAvailableMacSecPortSpeeds(String... availableMacSecPortSpeeds)
The available MAC Security (MACsec) port speeds for the location.
NOTE: This method appends the values to the existing list (if any). Use
setAvailableMacSecPortSpeeds(java.util.Collection)
or
withAvailableMacSecPortSpeeds(java.util.Collection)
if you want to override the existing values.
availableMacSecPortSpeeds
- The available MAC Security (MACsec) port speeds for the location.public Location withAvailableMacSecPortSpeeds(Collection<String> availableMacSecPortSpeeds)
The available MAC Security (MACsec) port speeds for the location.
availableMacSecPortSpeeds
- The available MAC Security (MACsec) port speeds for the location.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.