@Generated(value="software.amazon.awssdk:codegen") public final class VirtualInterface extends Object implements StructuredPojo, ToCopyableBuilder<VirtualInterface.Builder,VirtualInterface>
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
Modifier and Type | Class and Description |
---|---|
static interface |
VirtualInterface.Builder |
Modifier and Type | Method and Description |
---|---|
AddressFamily |
addressFamily()
Returns the value of the AddressFamily property for this object.
|
String |
addressFamilyAsString()
Returns the value of the AddressFamily property for this object.
|
String |
amazonAddress()
Returns the value of the AmazonAddress property for this object.
|
Long |
amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
Integer |
asn()
Returns the value of the Asn property for this object.
|
String |
authKey()
Returns the value of the AuthKey property for this object.
|
List<BGPPeer> |
bgpPeers()
Returns the value of the BgpPeers property for this object.
|
static VirtualInterface.Builder |
builder() |
String |
connectionId()
Returns the value of the ConnectionId property for this object.
|
String |
customerAddress()
Returns the value of the CustomerAddress property for this object.
|
String |
customerRouterConfig()
Information for generating the customer router configuration.
|
String |
directConnectGatewayId()
Returns the value of the DirectConnectGatewayId property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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 virtual interface.
|
List<RouteFilterPrefix> |
routeFilterPrefixes()
Returns the value of the RouteFilterPrefixes property for this object.
|
static Class<? extends VirtualInterface.Builder> |
serializableBuilderClass() |
VirtualInterface.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
virtualGatewayId()
Returns the value of the VirtualGatewayId property for this object.
|
String |
virtualInterfaceId()
Returns the value of the VirtualInterfaceId property for this object.
|
String |
virtualInterfaceName()
Returns the value of the VirtualInterfaceName property for this object.
|
VirtualInterfaceState |
virtualInterfaceState()
Returns the value of the VirtualInterfaceState property for this object.
|
String |
virtualInterfaceStateAsString()
Returns the value of the VirtualInterfaceState property for this object.
|
String |
virtualInterfaceType()
Returns the value of the VirtualInterfaceType property for this object.
|
Integer |
vlan()
Returns the value of the Vlan property for this object.
|
copy
public String ownerAccount()
The AWS account that will own the new virtual interface.
public String virtualInterfaceId()
public String location()
public String connectionId()
public String virtualInterfaceType()
public String virtualInterfaceName()
public Integer vlan()
public Integer asn()
public Long amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public String authKey()
public String amazonAddress()
public String customerAddress()
public AddressFamily addressFamily()
If the service returns an enum value that is not available in the current SDK version, addressFamily
will return AddressFamily.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
addressFamilyAsString()
.
AddressFamily
public String addressFamilyAsString()
If the service returns an enum value that is not available in the current SDK version, addressFamily
will return AddressFamily.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
addressFamilyAsString()
.
AddressFamily
public VirtualInterfaceState virtualInterfaceState()
If the service returns an enum value that is not available in the current SDK version,
virtualInterfaceState
will return VirtualInterfaceState.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from virtualInterfaceStateAsString()
.
VirtualInterfaceState
public String virtualInterfaceStateAsString()
If the service returns an enum value that is not available in the current SDK version,
virtualInterfaceState
will return VirtualInterfaceState.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from virtualInterfaceStateAsString()
.
VirtualInterfaceState
public String customerRouterConfig()
Information for generating the customer router configuration.
public String virtualGatewayId()
public String directConnectGatewayId()
public List<RouteFilterPrefix> routeFilterPrefixes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<BGPPeer> bgpPeers()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public VirtualInterface.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VirtualInterface.Builder,VirtualInterface>
public static VirtualInterface.Builder builder()
public static Class<? extends VirtualInterface.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.