@Generated(value="software.amazon.awssdk:codegen") public final class Location extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Location.Builder,Location>
Information about an AWS Direct Connect location.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Location.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
availableMacSecPortSpeeds()
The available MAC Security (MACsec) port speeds for the location.
|
List<String> |
availablePortSpeeds()
The available port speeds for the location.
|
List<String> |
availableProviders()
The name of the service provider for the location.
|
static Location.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAvailableMacSecPortSpeeds()
Returns true if the AvailableMacSecPortSpeeds property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasAvailablePortSpeeds()
Returns true if the AvailablePortSpeeds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasAvailableProviders()
Returns true if the AvailableProviders property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
locationCode()
The code for the location.
|
String |
locationName()
The name of the location.
|
String |
region()
The AWS Region for the location.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Location.Builder> |
serializableBuilderClass() |
Location.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String locationCode()
The code for the location.
public final String locationName()
The name of the location. This includes the name of the colocation partner and the physical site of the building.
public final String region()
The AWS Region for the location.
public final boolean hasAvailablePortSpeeds()
public final List<String> availablePortSpeeds()
The available port speeds for the location.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailablePortSpeeds() to see if a value was sent in this field.
public final boolean hasAvailableProviders()
public final List<String> availableProviders()
The name of the service provider for the location.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailableProviders() to see if a value was sent in this field.
public final boolean hasAvailableMacSecPortSpeeds()
public final List<String> availableMacSecPortSpeeds()
The available MAC Security (MACsec) port speeds for the location.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailableMacSecPortSpeeds() to see if a value was sent in this field.
public Location.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Location.Builder,Location>public static Location.Builder builder()
public static Class<? extends Location.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.