@Generated(value="software.amazon.awssdk:codegen") public final class VirtualInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualInterface.Builder,VirtualInterface>
Information about a virtual interface.
Modifier and Type | Class and Description |
---|---|
static interface |
VirtualInterface.Builder |
Modifier and Type | Method and Description |
---|---|
AddressFamily |
addressFamily()
The address family for the BGP peer.
|
String |
addressFamilyAsString()
The address family for the BGP peer.
|
String |
amazonAddress()
The IP address assigned to the Amazon interface.
|
Long |
amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
Integer |
asn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
String |
authKey()
The authentication key for BGP configuration.
|
String |
awsDeviceV2()
The Direct Connect endpoint on which the virtual interface terminates.
|
List<BGPPeer> |
bgpPeers()
The BGP peers configured on this virtual interface.
|
static VirtualInterface.Builder |
builder() |
String |
connectionId()
The ID of the connection.
|
String |
customerAddress()
The IP address assigned to the customer interface.
|
String |
customerRouterConfig()
The customer router configuration.
|
String |
directConnectGatewayId()
The ID of the Direct Connect gateway.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
jumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
|
String |
location()
The location of the connection.
|
Integer |
mtu()
The maximum transmission unit (MTU), in bytes.
|
String |
ownerAccount()
The ID of the AWS account that owns the virtual interface.
|
String |
region()
The AWS Region where the virtual interface is located.
|
List<RouteFilterPrefix> |
routeFilterPrefixes()
The routes to be advertised to the AWS network in this Region.
|
List<SdkField<?>> |
sdkFields() |
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()
The ID of the virtual private gateway.
|
String |
virtualInterfaceId()
The ID of the virtual interface.
|
String |
virtualInterfaceName()
The name of the virtual interface assigned by the customer network.
|
VirtualInterfaceState |
virtualInterfaceState()
The state of the virtual interface.
|
String |
virtualInterfaceStateAsString()
The state of the virtual interface.
|
String |
virtualInterfaceType()
The type of virtual interface.
|
Integer |
vlan()
The ID of the VLAN.
|
copy
public String ownerAccount()
The ID of the AWS account that owns the virtual interface.
public String virtualInterfaceId()
The ID of the virtual interface.
public String location()
The location of the connection.
public String connectionId()
The ID of the connection.
public String virtualInterfaceType()
The type of virtual interface. The possible values are private
and public
.
private
and public
.public String virtualInterfaceName()
The name of the virtual interface assigned by the customer network.
public Integer vlan()
The ID of the VLAN.
public Integer asn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
public Long amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public String authKey()
The authentication key for BGP configuration.
public String amazonAddress()
The IP address assigned to the Amazon interface.
public String customerAddress()
The IP address assigned to the customer interface.
public AddressFamily addressFamily()
The address family for the BGP peer.
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()
The address family for the BGP peer.
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()
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface
owner. If the owner of the virtual interface is different from the owner of the connection on which it is
provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface
owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs
validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual
interface in the Confirming
state is deleted by the virtual interface owner, the virtual interface
enters the Rejected
state.
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()
.
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on
which it is provisioned, then the virtual interface will remain in this state until it is confirmed by
the virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the
virtual interface enters the Rejected
state.
VirtualInterfaceState
public String virtualInterfaceStateAsString()
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface
owner. If the owner of the virtual interface is different from the owner of the connection on which it is
provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface
owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs
validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual
interface in the Confirming
state is deleted by the virtual interface owner, the virtual interface
enters the Rejected
state.
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()
.
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on
which it is provisioned, then the virtual interface will remain in this state until it is confirmed by
the virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the
virtual interface enters the Rejected
state.
VirtualInterfaceState
public String customerRouterConfig()
The customer router configuration.
public Integer mtu()
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
public Boolean jumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
public String virtualGatewayId()
The ID of the virtual private gateway. Applies only to private virtual interfaces.
public String directConnectGatewayId()
The ID of the Direct Connect gateway.
public List<RouteFilterPrefix> routeFilterPrefixes()
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<BGPPeer> bgpPeers()
The BGP peers configured on this virtual interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String region()
The AWS Region where the virtual interface is located.
public String awsDeviceV2()
The Direct Connect endpoint on which the virtual interface terminates.
public VirtualInterface.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VirtualInterface.Builder,VirtualInterface>
public static VirtualInterface.Builder builder()
public static Class<? extends VirtualInterface.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.