@Generated(value="software.amazon.awssdk:codegen") public class CreateInterconnectResponse extends DirectConnectResponse implements ToCopyableBuilder<CreateInterconnectResponse.Builder,CreateInterconnectResponse>
An interconnect is a connection that can host other connections.
Like a standard AWS Direct Connect connection, an interconnect represents the physical connection between an AWS Direct Connect partner's network and a specific Direct Connect location. An AWS Direct Connect partner who owns an interconnect can provision hosted connections on the interconnect for their end customers, thereby providing the end customers with connectivity to AWS services.
The resources of the interconnect, including bandwidth and VLAN numbers, are shared by all of the hosted connections on the interconnect, and the owner of the interconnect determines how these resources are assigned.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateInterconnectResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
awsDevice()
The Direct Connection endpoint which the physical connection terminates on.
|
String |
bandwidth()
Returns the value of the Bandwidth property for this object.
|
static CreateInterconnectResponse.Builder |
builder() |
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 |
interconnectId()
Returns the value of the InterconnectId property for this object.
|
String |
interconnectName()
Returns the value of the InterconnectName property for this object.
|
InterconnectState |
interconnectState()
Returns the value of the InterconnectState property for this object.
|
String |
interconnectStateAsString()
Returns the value of the InterconnectState property for this object.
|
String |
lagId()
Returns the value of the LagId property for this object.
|
Instant |
loaIssueTime()
The time of the most recent call to DescribeInterconnectLoa for this Interconnect.
|
String |
location()
Returns the value of the Location property for this object.
|
String |
region()
Returns the value of the Region property for this object.
|
static Class<? extends CreateInterconnectResponse.Builder> |
serializableBuilderClass() |
CreateInterconnectResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponse
copy
public String interconnectId()
public String interconnectName()
public InterconnectState interconnectState()
If the service returns an enum value that is not available in the current SDK version, interconnectState
will return InterconnectState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from interconnectStateAsString()
.
InterconnectState
public String interconnectStateAsString()
If the service returns an enum value that is not available in the current SDK version, interconnectState
will return InterconnectState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from interconnectStateAsString()
.
InterconnectState
public String region()
public String location()
public String bandwidth()
public Instant loaIssueTime()
The time of the most recent call to DescribeInterconnectLoa for this Interconnect.
public String lagId()
public String awsDevice()
The Direct Connection endpoint which the physical connection terminates on.
public CreateInterconnectResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateInterconnectResponse.Builder,CreateInterconnectResponse>
toBuilder
in class AwsResponse
public static CreateInterconnectResponse.Builder builder()
public static Class<? extends CreateInterconnectResponse.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.