@Generated(value="software.amazon.awssdk:codegen") public class Connection extends Object implements StructuredPojo, ToCopyableBuilder<Connection.Builder,Connection>
A connection represents the physical network connection between the AWS Direct Connect location and the customer.
Modifier and Type | Class and Description |
---|---|
static interface |
Connection.Builder |
Modifier and Type | Method and Description |
---|---|
String |
awsDevice()
The Direct Connection endpoint which the physical connection terminates on.
|
String |
bandwidth()
Bandwidth of the connection.
|
static Connection.Builder |
builder() |
String |
connectionId()
Returns the value of the ConnectionId property for this object.
|
String |
connectionName()
Returns the value of the ConnectionName property for this object.
|
ConnectionState |
connectionState()
Returns the value of the ConnectionState property for this object.
|
String |
connectionStateAsString()
Returns the value of the ConnectionState property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lagId()
Returns the value of the LagId property for this object.
|
Instant |
loaIssueTime()
The time of the most recent call to DescribeLoa for this connection.
|
String |
location()
Returns the value of the Location property for this object.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
ownerAccount()
The AWS account that will own the new connection.
|
String |
partnerName()
The name of the AWS Direct Connect service provider associated with the connection.
|
String |
region()
Returns the value of the Region property for this object.
|
static Class<? extends Connection.Builder> |
serializableBuilderClass() |
Connection.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
vlan()
Returns the value of the Vlan property for this object.
|
copy
public String ownerAccount()
The AWS account that will own the new connection.
public String connectionId()
public String connectionName()
public ConnectionState connectionState()
If the service returns an enum value that is not available in the current SDK version, connectionState
will return ConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionStateAsString()
.
ConnectionState
public String connectionStateAsString()
If the service returns an enum value that is not available in the current SDK version, connectionState
will return ConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionStateAsString()
.
ConnectionState
public String region()
public String location()
public String bandwidth()
Bandwidth of the connection.
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)
Default: None
public Integer vlan()
public String partnerName()
The name of the AWS Direct Connect service provider associated with the connection.
public Instant loaIssueTime()
The time of the most recent call to DescribeLoa for this connection.
public String lagId()
public String awsDevice()
The Direct Connection endpoint which the physical connection terminates on.
public Connection.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Connection.Builder,Connection>
public static Connection.Builder builder()
public static Class<? extends Connection.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.