@Generated(value="software.amazon.awssdk:codegen") public class CreateConnectionResponse extends DirectConnectResponse implements ToCopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>
A connection represents the physical network connection between the AWS Direct Connect location and the customer.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateConnectionResponse.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 CreateConnectionResponse.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 |
connectionStateString()
Returns the value of the ConnectionState property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
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.
|
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 CreateConnectionResponse.Builder> |
serializableBuilderClass() |
CreateConnectionResponse.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 connectionStateString()
.
ConnectionState
public String connectionStateString()
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 connectionStateString()
.
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 CreateConnectionResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>
toBuilder
in class AwsResponse
public static CreateConnectionResponse.Builder builder()
public static Class<? extends CreateConnectionResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.