@Generated(value="software.amazon.awssdk:codegen") public class Location extends Object implements StructuredPojo, ToCopyableBuilder<Location.Builder,Location>
An AWS Direct Connect location where connections and interconnects can be requested.
Modifier and Type | Class and Description |
---|---|
static interface |
Location.Builder |
Modifier and Type | Method and Description |
---|---|
static Location.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
locationCode()
The code used to indicate the AWS Direct Connect location.
|
String |
locationName()
The name of the AWS Direct Connect location.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Location.Builder> |
serializableBuilderClass() |
Location.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String locationCode()
The code used to indicate the AWS Direct Connect location.
public 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.
public Location.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Location.Builder,Location>
public static Location.Builder builder()
public static Class<? extends Location.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.